# TODO(#4194): the errors should mention "undefined field: DoesntExist".

! exec cue cmd tool
stderr 'command.tool: no tasks found'

! exec cue cmd builtin
stderr 'command.builtin: no tasks found'

! exec cue cmd package
stderr 'command.package: no tasks found'
-- cue.mod/module.cue --
module: "mod.test/test"
language: version: "v0.9.0"
-- sub/sub.cue --
package sub
-- task_tool.cue --
package home

import (
    "tool/os"
    "strconv"
    "mod.test/test/sub"
)

command: tool: {
    bad: os.DoesntExist & {
        input: "a"
    }
}

command: builtin: {
    bad: strconv.DoesntExist & {
        a: "b"
    }
}

command: package: {
    bad: sub.DoesntExist
}
