[INFO] fetching crate cmd_lib_cf_macros 1.3.1... [INFO] testing cmd_lib_cf_macros-1.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cmd_lib_cf_macros 1.3.1 into /workspace/builds/worker-44/source [INFO] validating manifest of crates.io crate cmd_lib_cf_macros 1.3.1 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_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-44/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-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] f498fe0c0daeff1ec3039b7f99c31037478ff9115f90f1dcfc6e4141790caba2 [INFO] running `Command { std: "docker" "start" "-a" "f498fe0c0daeff1ec3039b7f99c31037478ff9115f90f1dcfc6e4141790caba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f498fe0c0daeff1ec3039b7f99c31037478ff9115f90f1dcfc6e4141790caba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f498fe0c0daeff1ec3039b7f99c31037478ff9115f90f1dcfc6e4141790caba2", kill_on_drop: false }` [INFO] [stdout] f498fe0c0daeff1ec3039b7f99c31037478ff9115f90f1dcfc6e4141790caba2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 87667a49b924cdf3006fd035436305faa0ef1794b15cd6b874b3cc2acb439f6f [INFO] running `Command { std: "docker" "start" "-a" "87667a49b924cdf3006fd035436305faa0ef1794b15cd6b874b3cc2acb439f6f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [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_cf_macros v1.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.24s [INFO] running `Command { std: "docker" "inspect" "87667a49b924cdf3006fd035436305faa0ef1794b15cd6b874b3cc2acb439f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87667a49b924cdf3006fd035436305faa0ef1794b15cd6b874b3cc2acb439f6f", kill_on_drop: false }` [INFO] [stdout] 87667a49b924cdf3006fd035436305faa0ef1794b15cd6b874b3cc2acb439f6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] ccef1e035eec1ce5794379b8d3ddb6e23d9c8d45ba31536df45c12ca291c3c1a [INFO] running `Command { std: "docker" "start" "-a" "ccef1e035eec1ce5794379b8d3ddb6e23d9c8d45ba31536df45c12ca291c3c1a", 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.71s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmd_lib_cf_macros-8f4bc73303a37341) [INFO] running `Command { std: "docker" "inspect" "ccef1e035eec1ce5794379b8d3ddb6e23d9c8d45ba31536df45c12ca291c3c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccef1e035eec1ce5794379b8d3ddb6e23d9c8d45ba31536df45c12ca291c3c1a", kill_on_drop: false }` [INFO] [stdout] ccef1e035eec1ce5794379b8d3ddb6e23d9c8d45ba31536df45c12ca291c3c1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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] 104a448769aef62622cdc84e7753cccc9558d059667e4016e3bb183d0f9ac872 [INFO] running `Command { std: "docker" "start" "-a" "104a448769aef62622cdc84e7753cccc9558d059667e4016e3bb183d0f9ac872", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cmd_lib_cf_macros-8f4bc73303a37341) [INFO] [stderr] Doc-tests cmd_lib_cf_macros [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] [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 - run_cmd (line 113) ... FAILED [INFO] [stdout] test src/lib.rs - use_builtin_cmd (line 84) ... FAILED [INFO] [stdout] test src/lib.rs - export_cmd (line 7) ... FAILED [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 - spawn_with_output (line 195) ... 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_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 - 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 - 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 - 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 - 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 - 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] ---- 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 - 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] [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.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "104a448769aef62622cdc84e7753cccc9558d059667e4016e3bb183d0f9ac872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104a448769aef62622cdc84e7753cccc9558d059667e4016e3bb183d0f9ac872", kill_on_drop: false }` [INFO] [stdout] 104a448769aef62622cdc84e7753cccc9558d059667e4016e3bb183d0f9ac872