[INFO] fetching crate command-rpc 0.1.12... [INFO] testing command-rpc-0.1.12 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate command-rpc 0.1.12 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate command-rpc 0.1.12 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49c8e8f8f3cf04f2f063b0437d0177192e1fe5e9d99eb3476e6aec4c8b07f379 [INFO] running `Command { std: "docker" "start" "-a" "49c8e8f8f3cf04f2f063b0437d0177192e1fe5e9d99eb3476e6aec4c8b07f379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49c8e8f8f3cf04f2f063b0437d0177192e1fe5e9d99eb3476e6aec4c8b07f379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c8e8f8f3cf04f2f063b0437d0177192e1fe5e9d99eb3476e6aec4c8b07f379", kill_on_drop: false }` [INFO] [stdout] 49c8e8f8f3cf04f2f063b0437d0177192e1fe5e9d99eb3476e6aec4c8b07f379 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a62938c38d3e7240d3b81910c4e9a7b42eb9927435a575000f4b768a8efc0cd [INFO] running `Command { std: "docker" "start" "-a" "9a62938c38d3e7240d3b81910c4e9a7b42eb9927435a575000f4b768a8efc0cd", 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.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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 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)]` (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: 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.35s [INFO] running `Command { std: "docker" "inspect" "9a62938c38d3e7240d3b81910c4e9a7b42eb9927435a575000f4b768a8efc0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a62938c38d3e7240d3b81910c4e9a7b42eb9927435a575000f4b768a8efc0cd", kill_on_drop: false }` [INFO] [stdout] 9a62938c38d3e7240d3b81910c4e9a7b42eb9927435a575000f4b768a8efc0cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c64f916b344a09b1042ce967d543694dd7fe5aa9fcadbdaca339c75ba29bf40 [INFO] running `Command { std: "docker" "start" "-a" "0c64f916b344a09b1042ce967d543694dd7fe5aa9fcadbdaca339c75ba29bf40", 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: 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)]` (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: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)]` (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: 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: 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.72s [INFO] running `Command { std: "docker" "inspect" "0c64f916b344a09b1042ce967d543694dd7fe5aa9fcadbdaca339c75ba29bf40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c64f916b344a09b1042ce967d543694dd7fe5aa9fcadbdaca339c75ba29bf40", kill_on_drop: false }` [INFO] [stdout] 0c64f916b344a09b1042ce967d543694dd7fe5aa9fcadbdaca339c75ba29bf40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5542da2231689d521c7fde381035e33d8348b074ae5fd46841fb386ae092b40 [INFO] running `Command { std: "docker" "start" "-a" "f5542da2231689d521c7fde381035e33d8348b074ae5fd46841fb386ae092b40", 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: 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)]` (part of `#[warn(unused)]`) 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)]` (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 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.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/command_rpc-b3d1f5b96ae0651e) [INFO] [stdout] [INFO] [stderr] Doc-tests command_rpc [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] [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] 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 - (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 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] 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 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] 35 | 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' (95) panicked at src/lib.rs:3:1: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ece40e27b42 - std::backtrace_rs::backtrace::libunwind::trace::h7cddb8376417e7cc [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ece40e27b42 - std::backtrace_rs::backtrace::trace_unsynchronized::hb4e41acf4b349ff1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ece40e27b42 - std::sys::backtrace::_print_fmt::h1222b80910ba6eb5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ece40e27b42 - ::fmt::h5bb8a979ba5db788 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ece40e3683f - core::fmt::rt::Argument::fmt::h2ee2c138a50a7796 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ece40e3683f - core::fmt::write::h1e0dbf07fe3990bd [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ece40e06713 - std::io::default_write_fmt::hb0810a37865e52a5 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ece40e06713 - std::io::Write::write_fmt::h12c8908aaac7ca22 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ece40e0b4f2 - std::sys::backtrace::BacktraceLock::print::h788d486777205086 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ece40e0cd4c - std::panicking::default_hook::{{closure}}::ha7bdfeb5949fc0fa [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ece40e0cba6 - std::panicking::default_hook::h6dad75ec721846f4 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5ece40e0d325 - std::panicking::panic_with_hook::hba00e869ada17676 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5ece40e0d186 - std::panicking::panic_handler::{{closure}}::h3d21149c258e5ceb [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5ece40e0b629 - std::sys::backtrace::__rust_end_short_backtrace::h4f5d9b9dfb3e6ec1 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5ece40dfafbd - __rustc[9a7a9f9af7564de1]::rust_begin_unwind [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5ece40e39730 - core::panicking::panic_fmt::h78e817a90331d98b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5ece40e3970c - core::panicking::panic::h33d2d00634ffed6f [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5ece40dfac9a - rust_out::main::_doctest_main_src_lib_rs_76_0::h5a88581f4c6d0ae7 [INFO] [stdout] 18: 0x5ece40dfac76 - rust_out::main::hb2c1f26112d8e974 [INFO] [stdout] 19: 0x5ece40dfac13 - core::ops::function::FnOnce::call_once::h01e49b384cd31373 [INFO] [stdout] 20: 0x5ece40dfabf6 - std::sys::backtrace::__rust_begin_short_backtrace::hc341f747de1a6e5f [INFO] [stdout] 21: 0x5ece40dfabd9 - std::rt::lang_start::{{closure}}::h5855c6a947873adf [INFO] [stdout] 22: 0x5ece40e07580 - core::ops::function::impls:: for &F>::call_once::h1dc0a50e6295ec78 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5ece40e07580 - std::panicking::catch_unwind::do_call::h209f742e9999044e [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5ece40e07580 - std::panicking::catch_unwind::h508c6e2aa6d72749 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5ece40e07580 - std::panic::catch_unwind::hebcbb24aa9914693 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5ece40e07580 - std::rt::lang_start_internal::{{closure}}::h703cbe32967ef209 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5ece40e07580 - std::panicking::catch_unwind::do_call::hf50f2a30bce4e10b [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5ece40e07580 - std::panicking::catch_unwind::hac448d7e3b12daa3 [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5ece40e07580 - std::panic::catch_unwind::ha9d74a13d77f299c [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5ece40e07580 - std::rt::lang_start_internal::ha26d244788d1956d [INFO] [stdout] at /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5ece40dfabc1 - std::rt::lang_start::h75941d661fa88314 [INFO] [stdout] 32: 0x5ece40dfacb5 - main [INFO] [stdout] 33: 0x7dbf43ffa1ca - [INFO] [stdout] 34: 0x7dbf43ffa28b - __libc_start_main [INFO] [stdout] 35: 0x5ece40dfaad5 - _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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f5542da2231689d521c7fde381035e33d8348b074ae5fd46841fb386ae092b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5542da2231689d521c7fde381035e33d8348b074ae5fd46841fb386ae092b40", kill_on_drop: false }` [INFO] [stdout] f5542da2231689d521c7fde381035e33d8348b074ae5fd46841fb386ae092b40