[INFO] fetching crate cmd_lib_macros 1.0.13... [INFO] testing cmd_lib_macros-1.0.13 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cmd_lib_macros 1.0.13 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate cmd_lib_macros 1.0.13 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cmd_lib_macros 1.0.13 [INFO] finished tweaking crates.io crate cmd_lib_macros 1.0.13 [INFO] tweaked toml for crates.io crate cmd_lib_macros 1.0.13 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a39649c1d7027aac5de6607d0bb9bc41db9552dd02abc87719191780c827b502 [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" "a39649c1d7027aac5de6607d0bb9bc41db9552dd02abc87719191780c827b502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a39649c1d7027aac5de6607d0bb9bc41db9552dd02abc87719191780c827b502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a39649c1d7027aac5de6607d0bb9bc41db9552dd02abc87719191780c827b502", kill_on_drop: false }` [INFO] [stdout] a39649c1d7027aac5de6607d0bb9bc41db9552dd02abc87719191780c827b502 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c41762437f50699b40a408a4acd4c23abc38f4b48bf6743aeac61e8f55779aeb [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" "c41762437f50699b40a408a4acd4c23abc38f4b48bf6743aeac61e8f55779aeb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cmd_lib_macros v1.0.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.73s [INFO] running `Command { std: "docker" "inspect" "c41762437f50699b40a408a4acd4c23abc38f4b48bf6743aeac61e8f55779aeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41762437f50699b40a408a4acd4c23abc38f4b48bf6743aeac61e8f55779aeb", kill_on_drop: false }` [INFO] [stdout] c41762437f50699b40a408a4acd4c23abc38f4b48bf6743aeac61e8f55779aeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 826e6a63050b24b239dcbfc1ed60445f80d1aeb3d38d8185c19434f8c75dc6ef [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" "826e6a63050b24b239dcbfc1ed60445f80d1aeb3d38d8185c19434f8c75dc6ef", kill_on_drop: false }` [INFO] [stderr] Compiling cmd_lib_macros v1.0.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "826e6a63050b24b239dcbfc1ed60445f80d1aeb3d38d8185c19434f8c75dc6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "826e6a63050b24b239dcbfc1ed60445f80d1aeb3d38d8185c19434f8c75dc6ef", kill_on_drop: false }` [INFO] [stdout] 826e6a63050b24b239dcbfc1ed60445f80d1aeb3d38d8185c19434f8c75dc6ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ba88ca5e70cf3ef9e543379a054d1eef16f8d0cef36edd0a5e86ef237cee224 [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" "3ba88ca5e70cf3ef9e543379a054d1eef16f8d0cef36edd0a5e86ef237cee224", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cmd_lib_macros-7909be26d982894f) [INFO] [stdout] [INFO] [stderr] Doc-tests cmd_lib_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 8 tests [INFO] [stdout] test src/lib.rs - cmd_info (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - cmd_die (line 279) ... 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 - spawn (line 173) ... 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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - cmd_info (line 232) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:233: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:235: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 - cmd_die (line 279) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `cmd_lib` [INFO] [stdout] --> src/lib.rs:280: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:282: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` [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 - 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 - 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!(true, 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 - 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] 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 - 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] 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 279) [INFO] [stdout] src/lib.rs - cmd_info (line 232) [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 - use_builtin_cmd (line 84) [INFO] [stdout] src/lib.rs - use_custom_cmd (line 45) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "3ba88ca5e70cf3ef9e543379a054d1eef16f8d0cef36edd0a5e86ef237cee224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba88ca5e70cf3ef9e543379a054d1eef16f8d0cef36edd0a5e86ef237cee224", kill_on_drop: false }` [INFO] [stdout] 3ba88ca5e70cf3ef9e543379a054d1eef16f8d0cef36edd0a5e86ef237cee224