[INFO] fetching crate tusks-lib 2.1.7... [INFO] testing tusks-lib-2.1.7 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tusks-lib 2.1.7 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tusks-lib 2.1.7 [INFO] finished tweaking crates.io crate tusks-lib 2.1.7 [INFO] tweaked toml for crates.io crate tusks-lib 2.1.7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tusks-lib 2.1.7 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tusks-lib 2.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7b99079616a277731f363ee0a2f5f7fb46690287593129b73776cffd335a5f6 [INFO] running `Command { std: "docker" "start" "-a" "d7b99079616a277731f363ee0a2f5f7fb46690287593129b73776cffd335a5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7b99079616a277731f363ee0a2f5f7fb46690287593129b73776cffd335a5f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7b99079616a277731f363ee0a2f5f7fb46690287593129b73776cffd335a5f6", kill_on_drop: false }` [INFO] [stdout] d7b99079616a277731f363ee0a2f5f7fb46690287593129b73776cffd335a5f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfd13d69ea835427c824776639195effdc9064379b33fd116c374384f3fdd0d [INFO] running `Command { std: "docker" "start" "-a" "7cfd13d69ea835427c824776639195effdc9064379b33fd116c374384f3fdd0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling tusks-lib v2.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.13s [INFO] running `Command { std: "docker" "inspect" "7cfd13d69ea835427c824776639195effdc9064379b33fd116c374384f3fdd0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfd13d69ea835427c824776639195effdc9064379b33fd116c374384f3fdd0d", kill_on_drop: false }` [INFO] [stdout] 7cfd13d69ea835427c824776639195effdc9064379b33fd116c374384f3fdd0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b707e31653aa7372b16bd1b8dc344bc41bd91f19f514ffb890056d97e10094d4 [INFO] running `Command { std: "docker" "start" "-a" "b707e31653aa7372b16bd1b8dc344bc41bd91f19f514ffb890056d97e10094d4", kill_on_drop: false }` [INFO] [stderr] Compiling tusks-lib v2.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "b707e31653aa7372b16bd1b8dc344bc41bd91f19f514ffb890056d97e10094d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b707e31653aa7372b16bd1b8dc344bc41bd91f19f514ffb890056d97e10094d4", kill_on_drop: false }` [INFO] [stdout] b707e31653aa7372b16bd1b8dc344bc41bd91f19f514ffb890056d97e10094d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7446fc935661aeaf845557333911d1e3898debf472cd20512dd557c6662ae58 [INFO] running `Command { std: "docker" "start" "-a" "b7446fc935661aeaf845557333911d1e3898debf472cd20512dd557c6662ae58", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tusks_lib-d93ba10a90b6fbdb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test parsing::util::get_attribute_value::tests::test_nested_attributes ... ok [INFO] [stdout] test parsing::util::get_attribute_value::tests::test_numeric_values ... ok [INFO] [stdout] test parsing::util::get_attribute_value::tests::test_attribute_values ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tusks_lib [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 23) ... FAILED [INFO] [stdout] test src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_bindings (line 140) ... FAILED [INFO] [stdout] test src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 15) ... FAILED [INFO] [stdout] test src/codegen/handle_matches/arms/submodule.rs - codegen::handle_matches::arms::submodule::TusksModule::build_submodule_match_arm (line 18) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::ExternalModule::generate_command_attribute (line 121) ... FAILED [INFO] [stdout] test src/parsing/attribute/parse.rs - parsing::attribute::parse::TasksConfig::parse (line 71) ... ignored [INFO] [stdout] test src/parsing/attribute/parse.rs - parsing::attribute::parse::TusksAttr::parse (line 15) ... ignored [INFO] [stdout] test src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_fields (line 172) ... FAILED [INFO] [stdout] test src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_arguments (line 196) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_external_subcommands (line 94) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 14) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 68) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 27) ... FAILED [INFO] [stdout] test src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 55) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 23) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | Some(cli::Commands::MyFunction { arg1: p1 }) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 24 | Some!(cli::Commands::MyFunction { arg1: p1 }) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_bindings (line 140) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 140 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_codegen_handle_matches_arms_function_rs_140_0() { [INFO] [stdout] | - help: try adding a return type: `-> [(&str, &str); 2]` [INFO] [stdout] 141 | [("arg1", "p1"), ("arg2", "p2")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `[(&str, &str); 2]` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found array `[(&str, &str); 2]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 15) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | Some(cli::Commands::MyFunction { arg1: p1, arg2: p2 }) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 16 | Some!(cli::Commands::MyFunction { arg1: p1, arg2: p2 }) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/handle_matches/arms/submodule.rs - codegen::handle_matches::arms::submodule::TusksModule::build_submodule_match_arm (line 18) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/codegen/handle_matches/arms/submodule.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | Some(Cli::Commands::Admin { user: p1, sub }) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 19 | Some!(Cli::Commands::Admin { user: p1, sub }) => { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::ExternalModule::generate_command_attribute (line 121) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | #[command(name = "ext2")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: too many leading `super` keywords [INFO] [stdout] --> src/codegen/util/command_attribute.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | ext2(super::super::ext2::__internal_tusks_module::cli::Cli), [INFO] [stdout] | ^^^^^ there are too many leading `super` keywords [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_fields (line 172) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:173:1 [INFO] [stdout] | [INFO] [stdout] 172 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_codegen_handle_matches_arms_function_rs_172_0() { [INFO] [stdout] | - help: try adding a return type: `-> [&str; 2]` [INFO] [stdout] 173 | ["arg1: p1", "arg2: p2"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `[&str; 2]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_arguments (line 196) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `parameters` in this scope [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | [¶meters, p1.clone(), p2.clone()] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p1` in this scope [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | [¶meters, p1.clone(), p2.clone()] [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `p2` in this scope [INFO] [stdout] --> src/codegen/handle_matches/arms/function.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | [¶meters, p1.clone(), p2.clone()] [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_external_subcommands (line 94) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | #[command(flatten)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ExternalCommands` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | TuskExternalCommands(ExternalCommands), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 14) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[command(name = "tasks")] /// <===== here ===== [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[arg(short, long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[command(subcommand)] /// see generate_command_attribute_for_subcommands [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Commands` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub sub: Option, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Cli { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 68) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[command(name = "level1")] /// see generate_command_attribute [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[arg(long, default_value = "42")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | #[command(subcommand)] /// <===== here ===== [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `level1` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | sub: Option, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `level1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `level1`, use `cargo add level1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 27) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[command(name = "level1")] /// <===== here ===== [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[arg(long, default_value = "42")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[command(subcommand)] /// see generate_command_attribute_for_subcommands [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `level1` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | sub: Option, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `level1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `level1`, use `cargo add level1` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 55) stdout ---- [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[command(name = "tasks")] /// see generate_command_attribute [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[arg(long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `arg` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[arg(short, long)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `command` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | #[command(subcommand)] /// <===== here ===== [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Commands` in this scope [INFO] [stdout] --> src/codegen/util/command_attribute.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | pub sub: Option, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Cli { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_arguments (line 196) [INFO] [stdout] src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 15) [INFO] [stdout] src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_function_match_arm (line 23) [INFO] [stdout] src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_bindings (line 140) [INFO] [stdout] src/codegen/handle_matches/arms/function.rs - codegen::handle_matches::arms::function::TusksModule::build_pattern_fields (line 172) [INFO] [stdout] src/codegen/handle_matches/arms/submodule.rs - codegen::handle_matches::arms::submodule::TusksModule::build_submodule_match_arm (line 18) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::ExternalModule::generate_command_attribute (line 121) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 14) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute (line 27) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_external_subcommands (line 94) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 55) [INFO] [stdout] src/codegen/util/command_attribute.rs - codegen::util::command_attribute::TusksModule::generate_command_attribute_for_subcommands (line 68) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 12 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.81s; merged doctests compilation took 0.34s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b7446fc935661aeaf845557333911d1e3898debf472cd20512dd557c6662ae58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7446fc935661aeaf845557333911d1e3898debf472cd20512dd557c6662ae58", kill_on_drop: false }` [INFO] [stdout] b7446fc935661aeaf845557333911d1e3898debf472cd20512dd557c6662ae58