[INFO] fetching crate cmd_lib_macros 1.3.0... [INFO] testing cmd_lib_macros-1.3.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cmd_lib_macros 1.3.0 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate cmd_lib_macros 1.3.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmd_lib_macros 1.3.0 [INFO] finished tweaking crates.io crate cmd_lib_macros 1.3.0 [INFO] tweaked toml for crates.io crate cmd_lib_macros 1.3.0 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29a2069dae2e0f2b5a5e3c2dc73e8be1340a70d973c7d533810b805483542a36 [INFO] running `Command { std: "docker" "start" "-a" "29a2069dae2e0f2b5a5e3c2dc73e8be1340a70d973c7d533810b805483542a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29a2069dae2e0f2b5a5e3c2dc73e8be1340a70d973c7d533810b805483542a36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a2069dae2e0f2b5a5e3c2dc73e8be1340a70d973c7d533810b805483542a36", kill_on_drop: false }` [INFO] [stdout] 29a2069dae2e0f2b5a5e3c2dc73e8be1340a70d973c7d533810b805483542a36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c25ff212eb7a9659d34ec707e45463f2744656a0d9cb4e24dc81ce84f3845bc [INFO] running `Command { std: "docker" "start" "-a" "4c25ff212eb7a9659d34ec707e45463f2744656a0d9cb4e24dc81ce84f3845bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cmd_lib_macros v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.25s [INFO] running `Command { std: "docker" "inspect" "4c25ff212eb7a9659d34ec707e45463f2744656a0d9cb4e24dc81ce84f3845bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c25ff212eb7a9659d34ec707e45463f2744656a0d9cb4e24dc81ce84f3845bc", kill_on_drop: false }` [INFO] [stdout] 4c25ff212eb7a9659d34ec707e45463f2744656a0d9cb4e24dc81ce84f3845bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b659d79c1999c474314e4224d029d54d3a3377972d014c9c9b573b634101bfd3 [INFO] running `Command { std: "docker" "start" "-a" "b659d79c1999c474314e4224d029d54d3a3377972d014c9c9b573b634101bfd3", kill_on_drop: false }` [INFO] [stderr] Compiling cmd_lib_macros v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.57s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmd_lib_macros-a7e2160e0de533f1) [INFO] running `Command { std: "docker" "inspect" "b659d79c1999c474314e4224d029d54d3a3377972d014c9c9b573b634101bfd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b659d79c1999c474314e4224d029d54d3a3377972d014c9c9b573b634101bfd3", kill_on_drop: false }` [INFO] [stdout] b659d79c1999c474314e4224d029d54d3a3377972d014c9c9b573b634101bfd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2174f8a1d8ff999d2aac1678dd5ccd05bdcf1b0ac4530390161a66ed733280b [INFO] running `Command { std: "docker" "start" "-a" "c2174f8a1d8ff999d2aac1678dd5ccd05bdcf1b0ac4530390161a66ed733280b", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmd_lib_macros-a7e2160e0de533f1) [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 cmd_lib_macros [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - cmd_die (line 309) ... FAILED [INFO] [stdout] test src/lib.rs - cmd_info (line 262) ... FAILED [INFO] [stdout] test src/lib.rs - run_fun (line 150) ... FAILED [INFO] [stdout] test src/lib.rs - use_builtin_cmd (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - spawn (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - run_cmd (line 113) ... FAILED [INFO] [stdout] test src/lib.rs - export_cmd (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - spawn_with_output (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - use_custom_cmd (line 45) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - cmd_die (line 309) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::cmd_die; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `cmd_die` [INFO] [stdout] --> src/lib.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 5 | cmd_die!("could not open file: $file"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - cmd_info (line 262) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::cmd_info; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `cmd_info` [INFO] [stdout] --> src/lib.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 5 | cmd_info!("hello, $name"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - run_fun (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::run_fun; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_fun` [INFO] [stdout] --> src/lib.rs:152:15 [INFO] [stdout] | [INFO] [stdout] 4 | let version = run_fun!(rustc --version)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_fun` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 8 | let n = run_fun!(echo "the quick brown fox jumped over the lazy dog" | wc -w)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - use_builtin_cmd (line 84) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_builtin_cmd` in this scope [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 5 | use_builtin_cmd!(echo, info, warn, err, die, cat); // import all the builtins [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::use_builtin_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_builtin_cmd` in this scope [INFO] [stdout] --> src/lib.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 4 | use_builtin_cmd!(info); // import only one builtin command [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::use_builtin_cmd [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - spawn (line 173) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `spawn` in this scope [INFO] [stdout] --> src/lib.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 5 | let handle = spawn!(ping -c 10 192.168.0.1)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::spawn [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - run_cmd (line 113) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::run_cmd; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_cmd` [INFO] [stdout] --> src/lib.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 15 | if run_cmd! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_cmd` [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 9 | run_cmd!(du -ah . | sort -hr | head -n 10)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_cmd` [INFO] [stdout] --> src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 6 | run_cmd!(echo "This is the message: $msg")?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `run_cmd` [INFO] [stdout] --> src/lib.rs:116:1 [INFO] [stdout] | [INFO] [stdout] 5 | run_cmd!(echo $msg)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - export_cmd (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_cmd` in this scope [INFO] [stdout] --> src/lib.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[export_cmd(my_cmd)] [INFO] [stdout] | ^^^^^^^^^^ help: a built-in attribute with a similar name exists: `export_name` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cmd_lib_macros::export_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_custom_cmd` in this scope [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 12 | use_custom_cmd!(my_cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::use_custom_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_cmd` in this scope [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 13 | run_cmd!(my_cmd)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::run_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_fun` in this scope [INFO] [stdout] --> src/lib.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 14 | println!("get result: {}", run_fun!(my_cmd)?); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::run_fun [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CmdEnv` in this scope [INFO] [stdout] --> src/lib.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 6 | fn foo(env: &mut CmdEnv) -> CmdResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CmdResult` in this scope [INFO] [stdout] --> src/lib.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn foo(env: &mut CmdEnv) -> CmdResult { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - spawn_with_output (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `spawn_with_output` in this scope [INFO] [stdout] --> src/lib.rs:199:16 [INFO] [stdout] | [INFO] [stdout] 6 | let proc = spawn_with_output!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::spawn_with_output [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_cmd` in this scope [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 15 | run_cmd!(info "thread $i bandwidth: $bandwidth MB/s")?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::run_cmd [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - use_custom_cmd (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `cmd_lib` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `run_cmd` in this scope [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 12 | run_cmd!(my_cmd)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::run_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_custom_cmd` in this scope [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 11 | use_custom_cmd!(my_cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] cmd_lib_macros::use_custom_cmd [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export_cmd` in this scope [INFO] [stdout] --> src/lib.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[export_cmd(my_cmd)] [INFO] [stdout] | ^^^^^^^^^^ help: a built-in attribute with a similar name exists: `export_name` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] cmd_lib_macros::export_cmd [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CmdEnv` in this scope [INFO] [stdout] --> src/lib.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 5 | fn foo(env: &mut CmdEnv) -> CmdResult { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CmdResult` in this scope [INFO] [stdout] --> src/lib.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 5 | fn foo(env: &mut CmdEnv) -> CmdResult { [INFO] [stdout] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - cmd_die (line 309) [INFO] [stdout] src/lib.rs - cmd_info (line 262) [INFO] [stdout] src/lib.rs - export_cmd (line 7) [INFO] [stdout] src/lib.rs - run_cmd (line 113) [INFO] [stdout] src/lib.rs - run_fun (line 150) [INFO] [stdout] src/lib.rs - spawn (line 173) [INFO] [stdout] src/lib.rs - spawn_with_output (line 195) [INFO] [stdout] src/lib.rs - use_builtin_cmd (line 84) [INFO] [stdout] src/lib.rs - use_custom_cmd (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c2174f8a1d8ff999d2aac1678dd5ccd05bdcf1b0ac4530390161a66ed733280b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2174f8a1d8ff999d2aac1678dd5ccd05bdcf1b0ac4530390161a66ed733280b", kill_on_drop: false }` [INFO] [stdout] c2174f8a1d8ff999d2aac1678dd5ccd05bdcf1b0ac4530390161a66ed733280b