[INFO] fetching crate command-rpc 0.1.12... [INFO] testing command-rpc-0.1.12 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate command-rpc 0.1.12 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate command-rpc 0.1.12 [INFO] finished tweaking crates.io crate command-rpc 0.1.12 [INFO] tweaked toml for crates.io crate command-rpc 0.1.12 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate command-rpc 0.1.12 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e461412a91df6197e952a12b13c4325bb67e0fa29b59e4633f4d6a97264ee710 [INFO] running `Command { std: "docker" "start" "-a" "e461412a91df6197e952a12b13c4325bb67e0fa29b59e4633f4d6a97264ee710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e461412a91df6197e952a12b13c4325bb67e0fa29b59e4633f4d6a97264ee710", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e461412a91df6197e952a12b13c4325bb67e0fa29b59e4633f4d6a97264ee710", kill_on_drop: false }` [INFO] [stdout] e461412a91df6197e952a12b13c4325bb67e0fa29b59e4633f4d6a97264ee710 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 63b7b942269f36a620aa3da03428c32011b0c8dc2143409f6936deab9254bd19 [INFO] running `Command { std: "docker" "start" "-a" "63b7b942269f36a620aa3da03428c32011b0c8dc2143409f6936deab9254bd19", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling command-rpc v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_quote` [INFO] [stdout] --> src/build_nested.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Token, parse_quote, Variant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `callback` [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | macro_rules! callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | macro_rules! parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_nested.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subcommands` is never used [INFO] [stdout] --> src/build_nested.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_check` is never used [INFO] [stdout] --> src/checks.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.83s [INFO] running `Command { std: "docker" "inspect" "63b7b942269f36a620aa3da03428c32011b0c8dc2143409f6936deab9254bd19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b7b942269f36a620aa3da03428c32011b0c8dc2143409f6936deab9254bd19", kill_on_drop: false }` [INFO] [stdout] 63b7b942269f36a620aa3da03428c32011b0c8dc2143409f6936deab9254bd19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 702e1a3f0f863de61058628abd54bc165bca8db9594871e7adb2ae7dc895202f [INFO] running `Command { std: "docker" "start" "-a" "702e1a3f0f863de61058628abd54bc165bca8db9594871e7adb2ae7dc895202f", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [INFO] [stdout] warning: unused import: `parse_quote` [INFO] [stdout] --> src/build_nested.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Token, parse_quote, Variant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `callback` [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | macro_rules! callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | macro_rules! parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling command-rpc v0.1.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_nested.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subcommands` is never used [INFO] [stdout] --> src/build_nested.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_check` is never used [INFO] [stdout] --> src/checks.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_quote` [INFO] [stdout] --> src/build_nested.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | Token, parse_quote, Variant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `callback` [INFO] [stdout] --> src/lib.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | macro_rules! callback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse` [INFO] [stdout] --> src/lib.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | macro_rules! parse { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/build_nested.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut same = false; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subcommands` is never used [INFO] [stdout] --> src/build_nested.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input_check` is never used [INFO] [stdout] --> src/checks.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "702e1a3f0f863de61058628abd54bc165bca8db9594871e7adb2ae7dc895202f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702e1a3f0f863de61058628abd54bc165bca8db9594871e7adb2ae7dc895202f", kill_on_drop: false }` [INFO] [stdout] 702e1a3f0f863de61058628abd54bc165bca8db9594871e7adb2ae7dc895202f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3a11d5754c31ce84869c3e99dc33f5adbb7001dc1f387708bbc9dc74d8f784a3 [INFO] running `Command { std: "docker" "start" "-a" "3a11d5754c31ce84869c3e99dc33f5adbb7001dc1f387708bbc9dc74d8f784a3", kill_on_drop: false }` [INFO] [stderr] warning: `proc_macro` is deprecated in favor of `proc-macro` and will not work in the 2024 edition [INFO] [stderr] (in the `command_rpc` library target) [INFO] [stderr] warning: unused import: `parse_quote` [INFO] [stderr] --> src/build_nested.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | Token, parse_quote, Variant, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `callback` [INFO] [stderr] --> src/lib.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | macro_rules! callback { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `parse` [INFO] [stderr] --> src/lib.rs:130:14 [INFO] [stderr] | [INFO] [stderr] 130 | macro_rules! parse { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `same` [INFO] [stderr] --> src/build_nested.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | let mut same = false; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_same` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/build_nested.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let mut same = false; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `subcommands` is never used [INFO] [stderr] --> src/build_nested.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn subcommands(item: ItemMod) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `input_check` is never used [INFO] [stderr] --> src/checks.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn input_check(arg: &FnArg) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `command-rpc` (lib) generated 7 warnings (run `cargo fix --lib -p command-rpc` to apply 2 suggestions) [INFO] [stderr] warning: `command-rpc` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/command_rpc-3bd5cc57475a28ba) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests command_rpc [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - TokenStream (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 47) stdout ---- [INFO] [stdout] error: cannot find macro `callback` in this scope [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 3 | callback!(my_cli_backend::greet("John")); [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/lib.rs - TokenStream (line 76) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' panicked at src/lib.rs:3:1: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e36e7fe6662 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e36e7fe6662 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e36e7fe6662 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e36e7fe6662 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e36e8001e83 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e36e8001e83 - core::fmt::write::h44c4c28224d1d425 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x5e36e7fe44a3 - std::io::default_write_fmt::h2bbef4d99fdfa1fb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e36e7fe44a3 - std::io::Write::write_fmt::h7c137d8faa040f47 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e36e7fe64b2 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e36e7fe7522 - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5e36e7fe7325 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x5e36e7fe7df2 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x5e36e7fe7c56 - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stdout] 13: 0x5e36e7fe6b59 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 14: 0x5e36e7fe791d - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x5e36e8001370 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5e36e80013fc - core::panicking::panic::he9e437e8f1dfca16 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5e36e7fc5cca - rust_out::main::_doctest_main_src_lib_rs_76_0::h377b50c0f6e79dc3 [INFO] [stdout] 18: 0x5e36e7fc5ca6 - rust_out::main::ha01c01bbfc425632 [INFO] [stdout] 19: 0x5e36e7fc5c83 - core::ops::function::FnOnce::call_once::hd9bcea562e6f6c1c [INFO] [stdout] 20: 0x5e36e7fc5c26 - std::sys::backtrace::__rust_begin_short_backtrace::had2a32568150307b [INFO] [stdout] 21: 0x5e36e7fc5c09 - std::rt::lang_start::{{closure}}::h494b96bb624499eb [INFO] [stdout] 22: 0x5e36e7fe22a0 - core::ops::function::impls:: for &F>::call_once::h776d28ad5d8e3065 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stdout] 23: 0x5e36e7fe22a0 - std::panicking::catch_unwind::do_call::hc52b7f8762002282 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x5e36e7fe22a0 - std::panicking::catch_unwind::h65ae6675cb87c293 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x5e36e7fe22a0 - std::panic::catch_unwind::h4bf88f8de30a831e [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5e36e7fe22a0 - std::rt::lang_start_internal::{{closure}}::he18cde089aa4ecf1 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5e36e7fe22a0 - std::panicking::catch_unwind::do_call::h8d614f4790efaa4f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5e36e7fe22a0 - std::panicking::catch_unwind::he616f21a5745eff4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5e36e7fe22a0 - std::panic::catch_unwind::ha12dd71f2a653c0c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5e36e7fe22a0 - std::rt::lang_start_internal::hacfd5a6cee565422 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5e36e7fc5bf1 - std::rt::lang_start::he4505e9419f1cfe8 [INFO] [stdout] 32: 0x5e36e7fc5ce5 - main [INFO] [stdout] 33: 0x74d3747731ca - [INFO] [stdout] 34: 0x74d37477328b - __libc_start_main [INFO] [stdout] 35: 0x5e36e7fc5b05 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 12 | /// The name of the person you want to greet. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 24 | /// The name of the person you want to greet. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: allow, cfg, cfg_attr, deny, expect, forbid, and warn are the only allowed built-in attributes in function parameters [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | /// the adjective you want to use in the greeting. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `command_rpc::cprc_mod` [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 8 | use command_rpc::{cprc_mod, crpc_fn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `cprc_mod` in the root [INFO] [stdout] | help: a similar name exists in the module: `crpc_mod` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clap` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[crpc_main] [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `clap` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clap`, use `cargo add clap` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `crpc_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `command_rpc::cprc_fn` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | use command_rpc::cprc_fn; [INFO] [stdout] | ^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `crpc_fn` [INFO] [stdout] | no `cprc_fn` in the root [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `clap` in this scope [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[crpc_main] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crpc_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cprc_fn` in this scope [INFO] [stdout] --> src/lib.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 10 | #[cprc_fn] [INFO] [stdout] | ^^^^^^^ help: an attribute macro with a similar name exists: `crpc_fn` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn crpc_fn(_attr: TokenStream, item: TokenStream) -> TokenStream { [INFO] [stdout] | -------------------------------------------------------------------- similarly named attribute macro `crpc_fn` defined here [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crpc_mod` in this scope [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[crpc_mod] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use command_rpc::crpc_mod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `crpc_fn` in this scope [INFO] [stdout] --> src/lib.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[crpc_fn] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 20 + use crate::my_cli_backend::crpc_fn; [INFO] [stdout] | [INFO] [stdout] 20 + use command_rpc::crpc_fn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `My_cli_backend_sub` in module `my_cli_backend` [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[crpc_main] [INFO] [stdout] | ^^^^^^^^^^^^ not found in `my_cli_backend` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `crpc_main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: there is an enum variant `crate::SubcommandMy_cli_backend::My_cli_backend_sub`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 6 - #[crpc_main] [INFO] [stdout] 6 + crate::SubcommandMy_cli_backend [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 13 | name: str [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 13 | name: &str [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 15 | eprintln!("Hello, {}!", name); [INFO] [stdout] | -- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `core::fmt::rt::Argument::<'_>::new_display` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:110:5 [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 25 | name: str, [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 25 | name: &str, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 27 | adjective: str [INFO] [stdout] | ^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 27 | adjective: &str [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 29 | eprintln!("Hello, {}! You are {}!", name, adjective); [INFO] [stdout] | -- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `core::fmt::rt::Argument::<'_>::new_display` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:110:5 [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 29 | eprintln!("Hello, {}! You are {}!", name, adjective); [INFO] [stdout] | -- ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `core::fmt::rt::Argument::<'_>::new_display` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:110:5 [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `My_cli_mod` [INFO] [stdout] --> src/lib.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 35 | My_cli_mod::parse().delegate(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `My_cli_mod` [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 47) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - TokenStream (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3a11d5754c31ce84869c3e99dc33f5adbb7001dc1f387708bbc9dc74d8f784a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a11d5754c31ce84869c3e99dc33f5adbb7001dc1f387708bbc9dc74d8f784a3", kill_on_drop: false }` [INFO] [stdout] 3a11d5754c31ce84869c3e99dc33f5adbb7001dc1f387708bbc9dc74d8f784a3