[INFO] fetching crate command-rpc 0.1.12... [INFO] testing command-rpc-0.1.12 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate command-rpc 0.1.12 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate command-rpc 0.1.12 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] Blocking waiting for file lock on package cache [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc427cd613ac5de59be92243d3b3cbfd6011b8da6938cf17b8d8243cde7e7a6f [INFO] running `Command { std: "docker" "start" "-a" "fc427cd613ac5de59be92243d3b3cbfd6011b8da6938cf17b8d8243cde7e7a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc427cd613ac5de59be92243d3b3cbfd6011b8da6938cf17b8d8243cde7e7a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc427cd613ac5de59be92243d3b3cbfd6011b8da6938cf17b8d8243cde7e7a6f", kill_on_drop: false }` [INFO] [stdout] fc427cd613ac5de59be92243d3b3cbfd6011b8da6938cf17b8d8243cde7e7a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4c953168b970799c2b36e1bb29ab23b27fcf4a85ae2e91af5ec4142c222e425 [INFO] running `Command { std: "docker" "start" "-a" "e4c953168b970799c2b36e1bb29ab23b27fcf4a85ae2e91af5ec4142c222e425", 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.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 6.70s [INFO] running `Command { std: "docker" "inspect" "e4c953168b970799c2b36e1bb29ab23b27fcf4a85ae2e91af5ec4142c222e425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c953168b970799c2b36e1bb29ab23b27fcf4a85ae2e91af5ec4142c222e425", kill_on_drop: false }` [INFO] [stdout] e4c953168b970799c2b36e1bb29ab23b27fcf4a85ae2e91af5ec4142c222e425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b120f32983d5766ab79701df6fe8a66c7b514dd7a3cf94b14e83426e8d32fe97 [INFO] running `Command { std: "docker" "start" "-a" "b120f32983d5766ab79701df6fe8a66c7b514dd7a3cf94b14e83426e8d32fe97", 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `same` [INFO] [stdout] --> src/build_nested.rs:20:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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.65s [INFO] running `Command { std: "docker" "inspect" "b120f32983d5766ab79701df6fe8a66c7b514dd7a3cf94b14e83426e8d32fe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b120f32983d5766ab79701df6fe8a66c7b514dd7a3cf94b14e83426e8d32fe97", kill_on_drop: false }` [INFO] [stdout] b120f32983d5766ab79701df6fe8a66c7b514dd7a3cf94b14e83426e8d32fe97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 837cac8870c271bce5b97c37fa9e0520cb3d4206023f13eb77016c7a08cdffd3 [INFO] running `Command { std: "docker" "start" "-a" "837cac8870c271bce5b97c37fa9e0520cb3d4206023f13eb77016c7a08cdffd3", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `same` [INFO] [stderr] --> src/build_nested.rs:20:9 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 3 suggestions) [INFO] [stderr] warning: `command-rpc` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/command_rpc-18459cfc39d20d18) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests command_rpc [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - TokenStream (line 76) ... 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] 48 | 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 - (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] 16 | /// 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] 28 | /// 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] 30 | /// 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] 12 | 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] 10 | #[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] 24 | 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] 10 | #[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] 14 | #[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] 22 | #[crpc_mod] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 12 + 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] 26 | #[crpc_fn] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these attribute macros [INFO] [stdout] | [INFO] [stdout] 24 + use crate::my_cli_backend::crpc_fn; [INFO] [stdout] | [INFO] [stdout] 24 + 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] 10 | #[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] 10 - #[crpc_main] [INFO] [stdout] 10 + 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] 17 | 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] 17 | 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] 19 | eprintln!("Hello, {}!", name); [INFO] [stdout] | -- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [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] 29 | 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] 29 | 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] 31 | 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] 31 | 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] 33 | eprintln!("Hello, {}! You are {}!", name, adjective); [INFO] [stdout] | -- ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [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] 39 | My_cli_mod::parse().delegate(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `My_cli_mod` [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 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] ---- 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' (93) panicked at src/lib.rs:3:1: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x6365ca540132 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x6365ca540132 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x6365ca540132 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x6365ca540132 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6365ca54ecaf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6365ca54ecaf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x6365ca51f093 - std::io::default_write_fmt::hb29d13affe7e9cd0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6365ca51f093 - std::io::Write::write_fmt::hec441b8c6eca32b9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x6365ca523ed2 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x6365ca5256fc - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x6365ca525556 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x6365ca525cd5 - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x6365ca525b36 - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x6365ca524009 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x6365ca513afd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x6365ca551be0 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x6365ca551bbc - core::panicking::panic::h2a6fe4ac012a7582 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:150:5 [INFO] [stdout] 17: 0x6365ca5137fa - rust_out::main::_doctest_main_src_lib_rs_76_0::h62bb8462be72ef1a [INFO] [stdout] 18: 0x6365ca5137d6 - rust_out::main::h583ff58340d718d9 [INFO] [stdout] 19: 0x6365ca513773 - core::ops::function::FnOnce::call_once::h14c180921ac1da5e [INFO] [stdout] 20: 0x6365ca513756 - std::sys::backtrace::__rust_begin_short_backtrace::h6b98eb9b1ad88857 [INFO] [stdout] 21: 0x6365ca513739 - std::rt::lang_start::{{closure}}::h2fc95fa84f0c83a2 [INFO] [stdout] 22: 0x6365ca51ff50 - core::ops::function::impls:: for &F>::call_once::h9095abc9db71b07e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x6365ca51ff50 - std::panicking::catch_unwind::do_call::h6cf5dc461761418c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x6365ca51ff50 - std::panicking::catch_unwind::h60074fd2327f40bd [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x6365ca51ff50 - std::panic::catch_unwind::heb14fa8e39d051cf [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x6365ca51ff50 - std::rt::lang_start_internal::{{closure}}::hfb550bec36306a19 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x6365ca51ff50 - std::panicking::catch_unwind::do_call::hc805f36f35b6d647 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x6365ca51ff50 - std::panicking::catch_unwind::hb8d32f0195463ad2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x6365ca51ff50 - std::panic::catch_unwind::hcebe3b1d5adfc5a2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x6365ca51ff50 - std::rt::lang_start_internal::h27f55ed238aa26df [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x6365ca513721 - std::rt::lang_start::h762c340aaede70f7 [INFO] [stdout] 32: 0x6365ca513815 - main [INFO] [stdout] 33: 0x7a216f9e11ca - [INFO] [stdout] 34: 0x7a216f9e128b - __libc_start_main [INFO] [stdout] 35: 0x6365ca513635 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [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.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "837cac8870c271bce5b97c37fa9e0520cb3d4206023f13eb77016c7a08cdffd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837cac8870c271bce5b97c37fa9e0520cb3d4206023f13eb77016c7a08cdffd3", kill_on_drop: false }` [INFO] [stdout] 837cac8870c271bce5b97c37fa9e0520cb3d4206023f13eb77016c7a08cdffd3