[INFO] fetching crate cmd_lib_macros 1.3.0... [INFO] testing cmd_lib_macros-1.3.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate cmd_lib_macros 1.3.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate cmd_lib_macros 1.3.0 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_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-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] de04e91d350b3e1c5cba00da3b87715a2695f2dc482f93c2485b17e2f9082364 [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" "de04e91d350b3e1c5cba00da3b87715a2695f2dc482f93c2485b17e2f9082364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de04e91d350b3e1c5cba00da3b87715a2695f2dc482f93c2485b17e2f9082364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de04e91d350b3e1c5cba00da3b87715a2695f2dc482f93c2485b17e2f9082364", kill_on_drop: false }` [INFO] [stdout] de04e91d350b3e1c5cba00da3b87715a2695f2dc482f93c2485b17e2f9082364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0777b860044f61afc7a1a21970a72e778e6f02297d4bc41414ee28166d8ec689 [INFO] running `Command { std: "docker" "start" "-a" "0777b860044f61afc7a1a21970a72e778e6f02297d4bc41414ee28166d8ec689", kill_on_drop: false }` [INFO] [stderr] Compiling cmd_lib_macros v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.42s [INFO] running `Command { std: "docker" "inspect" "0777b860044f61afc7a1a21970a72e778e6f02297d4bc41414ee28166d8ec689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0777b860044f61afc7a1a21970a72e778e6f02297d4bc41414ee28166d8ec689", kill_on_drop: false }` [INFO] [stdout] 0777b860044f61afc7a1a21970a72e778e6f02297d4bc41414ee28166d8ec689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] c6b44348efdd57a00a60cef8f95ba2a6d25751147cd508dd5a12879212001f3c [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" "c6b44348efdd57a00a60cef8f95ba2a6d25751147cd508dd5a12879212001f3c", 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.87s [INFO] running `Command { std: "docker" "inspect" "c6b44348efdd57a00a60cef8f95ba2a6d25751147cd508dd5a12879212001f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b44348efdd57a00a60cef8f95ba2a6d25751147cd508dd5a12879212001f3c", kill_on_drop: false }` [INFO] [stdout] c6b44348efdd57a00a60cef8f95ba2a6d25751147cd508dd5a12879212001f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 9d23746938888ec4a1e5e75e3c62b5207299da16951fc88ddc82b08c3eb65967 [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" "9d23746938888ec4a1e5e75e3c62b5207299da16951fc88ddc82b08c3eb65967", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmd_lib_macros-97f59fd79da69f59) [INFO] [stdout] [INFO] [stderr] Doc-tests cmd_lib_macros [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 - use_builtin_cmd (line 84) ... 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 (line 173) ... FAILED [INFO] [stdout] test src/lib.rs - spawn_with_output (line 195) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 - 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 (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 - 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.46s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9d23746938888ec4a1e5e75e3c62b5207299da16951fc88ddc82b08c3eb65967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d23746938888ec4a1e5e75e3c62b5207299da16951fc88ddc82b08c3eb65967", kill_on_drop: false }` [INFO] [stdout] 9d23746938888ec4a1e5e75e3c62b5207299da16951fc88ddc82b08c3eb65967