[INFO] fetching crate common-error 0.1.1... [INFO] testing common-error-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate common-error 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate common-error 0.1.1 [INFO] finished tweaking crates.io crate common-error 0.1.1 [INFO] tweaked toml for crates.io crate common-error 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate common-error 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bbde1b04e7af5b4c3c057cfdded7989f7f465de3b6dc4caa9aa0eec53c56378 [INFO] running `Command { std: "docker" "start" "-a" "9bbde1b04e7af5b4c3c057cfdded7989f7f465de3b6dc4caa9aa0eec53c56378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bbde1b04e7af5b4c3c057cfdded7989f7f465de3b6dc4caa9aa0eec53c56378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bbde1b04e7af5b4c3c057cfdded7989f7f465de3b6dc4caa9aa0eec53c56378", kill_on_drop: false }` [INFO] [stdout] 9bbde1b04e7af5b4c3c057cfdded7989f7f465de3b6dc4caa9aa0eec53c56378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59a9af63ea090b761ed5df732651504420f8cc4f1c52a1cba0764e04172041c3 [INFO] running `Command { std: "docker" "start" "-a" "59a9af63ea090b761ed5df732651504420f8cc4f1c52a1cba0764e04172041c3", kill_on_drop: false }` [INFO] [stderr] Compiling common-error v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "59a9af63ea090b761ed5df732651504420f8cc4f1c52a1cba0764e04172041c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59a9af63ea090b761ed5df732651504420f8cc4f1c52a1cba0764e04172041c3", kill_on_drop: false }` [INFO] [stdout] 59a9af63ea090b761ed5df732651504420f8cc4f1c52a1cba0764e04172041c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a29a3f5d7af49d02bd7f7caf0a31d8094ecca83c098a56b1fc9a25cd4969c3 [INFO] running `Command { std: "docker" "start" "-a" "03a29a3f5d7af49d02bd7f7caf0a31d8094ecca83c098a56b1fc9a25cd4969c3", kill_on_drop: false }` [INFO] [stderr] Compiling common-error v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "03a29a3f5d7af49d02bd7f7caf0a31d8094ecca83c098a56b1fc9a25cd4969c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a29a3f5d7af49d02bd7f7caf0a31d8094ecca83c098a56b1fc9a25cd4969c3", kill_on_drop: false }` [INFO] [stdout] 03a29a3f5d7af49d02bd7f7caf0a31d8094ecca83c098a56b1fc9a25cd4969c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad94cf575a84c45f175c4517c3ae64ff4bcfaaabac7d0f198ea031480dfec2eb [INFO] running `Command { std: "docker" "start" "-a" "ad94cf575a84c45f175c4517c3ae64ff4bcfaaabac7d0f198ea031480dfec2eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common_error-0ab09215e8fd2cd1) [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 common_error [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/handle_error_macro.rs - handle_error_macro::handle_error (line 6) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/handle_error_macro.rs - handle_error_macro::handle_error (line 6) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing` [INFO] [stdout] --> src/handle_error_macro.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | common_error::handle_error!(result: Result::Ok(""), etype: LOC00007, "x".clone() ,"y".clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `common_error::handle_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `throw` found for struct `LOC00007` in the current scope [INFO] [stdout] --> src/handle_error_macro.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct LOC00007; [INFO] [stdout] | --------------- function or associated item `throw` not found for this struct [INFO] [stdout] 9 | fn main(){ [INFO] [stdout] 10 | common_error::handle_error!(result: Result::Ok(""), etype: LOC00007, "x".clone() ,"y".clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `LOC00007` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `common_error::handle_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handle_error_macro.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | common_error::handle_error!(result: Result::Ok(""), etype: LOC00007, "x".clone() ,"y".clone()); [INFO] [stdout] | ------------------------------------^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type of the type parameter `E` declared on the enum `Result` [INFO] [stdout] | type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 10 | common_error::handle_error!(result: Result::<&str, E>::Ok(""), etype: LOC00007, "x".clone() ,"y".clone()); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/handle_error_macro.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn main(){ [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 10 | common_error::handle_error!(result: Result::Ok(""), etype: LOC00007, "x".clone() ,"y".clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: this error originates in the macro `common_error::handle_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/handle_error_macro.rs - handle_error_macro::handle_error (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ad94cf575a84c45f175c4517c3ae64ff4bcfaaabac7d0f198ea031480dfec2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad94cf575a84c45f175c4517c3ae64ff4bcfaaabac7d0f198ea031480dfec2eb", kill_on_drop: false }` [INFO] [stdout] ad94cf575a84c45f175c4517c3ae64ff4bcfaaabac7d0f198ea031480dfec2eb