[INFO] fetching crate cmd_lib_cf_macros 1.3.1... [INFO] testing cmd_lib_cf_macros-1.3.1 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate cmd_lib_cf_macros 1.3.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cmd_lib_cf_macros 1.3.1 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmd_lib_cf_macros 1.3.1 [INFO] finished tweaking crates.io crate cmd_lib_cf_macros 1.3.1 [INFO] tweaked toml for crates.io crate cmd_lib_cf_macros 1.3.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72fc56686a6d7de626c646118217a27651e1f5ff4fbb627a2b5a2efd7087889e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72fc56686a6d7de626c646118217a27651e1f5ff4fbb627a2b5a2efd7087889e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72fc56686a6d7de626c646118217a27651e1f5ff4fbb627a2b5a2efd7087889e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72fc56686a6d7de626c646118217a27651e1f5ff4fbb627a2b5a2efd7087889e", kill_on_drop: false }` [INFO] [stdout] 72fc56686a6d7de626c646118217a27651e1f5ff4fbb627a2b5a2efd7087889e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4071bf2de7138d4f725a1a2981a1d1c5e2c9cbab5a1a2d195da614fb45cf08c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4071bf2de7138d4f725a1a2981a1d1c5e2c9cbab5a1a2d195da614fb45cf08c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cmd_lib_cf_macros v1.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.74s [INFO] running `Command { std: "docker" "inspect" "4071bf2de7138d4f725a1a2981a1d1c5e2c9cbab5a1a2d195da614fb45cf08c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4071bf2de7138d4f725a1a2981a1d1c5e2c9cbab5a1a2d195da614fb45cf08c9", kill_on_drop: false }` [INFO] [stdout] 4071bf2de7138d4f725a1a2981a1d1c5e2c9cbab5a1a2d195da614fb45cf08c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4af95fddbfbfee453f1a4c6eb7b5387d7dc8b45e90d10cff4a5616c1e8e3d6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4af95fddbfbfee453f1a4c6eb7b5387d7dc8b45e90d10cff4a5616c1e8e3d6b", kill_on_drop: false }` [INFO] [stderr] Compiling cmd_lib_cf_macros v1.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "d4af95fddbfbfee453f1a4c6eb7b5387d7dc8b45e90d10cff4a5616c1e8e3d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4af95fddbfbfee453f1a4c6eb7b5387d7dc8b45e90d10cff4a5616c1e8e3d6b", kill_on_drop: false }` [INFO] [stdout] d4af95fddbfbfee453f1a4c6eb7b5387d7dc8b45e90d10cff4a5616c1e8e3d6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15338cd71bfe57823deaf464aa4729ad7ce9e56bd08b8d087053ee98d5d50e47 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "15338cd71bfe57823deaf464aa4729ad7ce9e56bd08b8d087053ee98d5d50e47", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmd_lib_cf_macros-582e70803f49694c) [INFO] [stdout] [INFO] [stderr] Doc-tests cmd_lib_cf_macros [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 9 tests [INFO] [stdout] test src/lib.rs - use_custom_cmd (line 45) ... 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 - cmd_die (line 309) ... FAILED [INFO] [stdout] test src/lib.rs - run_fun (line 150) ... FAILED [INFO] [stdout] test src/lib.rs - cmd_info (line 262) ... FAILED [INFO] [stdout] test src/lib.rs - use_builtin_cmd (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - spawn_with_output (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - export_cmd (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - use_custom_cmd (line 45) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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_cf_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_cf_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_cf_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] ---- src/lib.rs - spawn (line 173) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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_cf_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_cf` [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::run_cmd; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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 - cmd_die (line 309) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::cmd_die; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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 - run_fun (line 150) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::run_fun; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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 - cmd_info (line 262) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::cmd_info; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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 - use_builtin_cmd (line 84) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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_cf_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_cf_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_with_output (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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_cf_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_cf_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 - export_cmd (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib_cf` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cmd_lib_cf::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `cmd_lib_cf` [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_cf_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_cf_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_cf_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_cf_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] [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.76s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "15338cd71bfe57823deaf464aa4729ad7ce9e56bd08b8d087053ee98d5d50e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15338cd71bfe57823deaf464aa4729ad7ce9e56bd08b8d087053ee98d5d50e47", kill_on_drop: false }` [INFO] [stdout] 15338cd71bfe57823deaf464aa4729ad7ce9e56bd08b8d087053ee98d5d50e47