[INFO] fetching crate trywarn 0.1.0... [INFO] testing trywarn-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate trywarn 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate trywarn 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate trywarn 0.1.0 [INFO] tweaked toml for crates.io crate trywarn 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trywarn 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate trywarn 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53326377d432efb045cca98928f9d0328b40e5af41ac9c0e8f0374be02653558 [INFO] running `Command { std: "docker" "start" "-a" "53326377d432efb045cca98928f9d0328b40e5af41ac9c0e8f0374be02653558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53326377d432efb045cca98928f9d0328b40e5af41ac9c0e8f0374be02653558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53326377d432efb045cca98928f9d0328b40e5af41ac9c0e8f0374be02653558", kill_on_drop: false }` [INFO] [stdout] 53326377d432efb045cca98928f9d0328b40e5af41ac9c0e8f0374be02653558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01449bcb9e88b5890adae2787917ad3f96d84dd7c3e62c13139c7949fc1e0170 [INFO] running `Command { std: "docker" "start" "-a" "01449bcb9e88b5890adae2787917ad3f96d84dd7c3e62c13139c7949fc1e0170", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Compiling trywarn v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "01449bcb9e88b5890adae2787917ad3f96d84dd7c3e62c13139c7949fc1e0170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01449bcb9e88b5890adae2787917ad3f96d84dd7c3e62c13139c7949fc1e0170", kill_on_drop: false }` [INFO] [stdout] 01449bcb9e88b5890adae2787917ad3f96d84dd7c3e62c13139c7949fc1e0170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7cafb0e9e8bb02403fc4ad880b1aa0a69c4f0e20180d5acefc11a248ec2704 [INFO] running `Command { std: "docker" "start" "-a" "af7cafb0e9e8bb02403fc4ad880b1aa0a69c4f0e20180d5acefc11a248ec2704", kill_on_drop: false }` [INFO] [stderr] Compiling trywarn v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "af7cafb0e9e8bb02403fc4ad880b1aa0a69c4f0e20180d5acefc11a248ec2704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7cafb0e9e8bb02403fc4ad880b1aa0a69c4f0e20180d5acefc11a248ec2704", kill_on_drop: false }` [INFO] [stdout] af7cafb0e9e8bb02403fc4ad880b1aa0a69c4f0e20180d5acefc11a248ec2704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12ebc7c3442cb761d8425207aad21ce47eb822d606073c98aa9bd8455e67ae4f [INFO] running `Command { std: "docker" "start" "-a" "12ebc7c3442cb761d8425207aad21ce47eb822d606073c98aa9bd8455e67ae4f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trywarn-18e8c19e7d284408) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::test_warnable_hide ... ok [INFO] [stdout] test tests::test_warnable_propagate ... ok [INFO] [stdout] test tests::test_warnable_clear_and_warn ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trywarn-105af2a0937b7557) [INFO] [stdout] test tests::test_warnable_debug_format ... ok [INFO] [stderr] Doc-tests trywarn [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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 14 tests [INFO] [stdout] test src/lib.rs - Trivialize (line 1077) ... ignored [INFO] [stdout] test src/lib.rs - Trivialize (line 1101) ... ignored [INFO] [stdout] test src/lib.rs - DefaultWarning (line 64) ... FAILED [INFO] [stdout] test src/lib.rs - Warnable::debug (line 880) ... ignored [INFO] [stdout] test src/lib.rs - Result (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - Warnable::unwrap_into_warnings (line 733) ... ignored [INFO] [stdout] test src/lib.rs - Warnable::warn (line 814) ... ignored [INFO] [stdout] test src/lib.rs - DefaultWarning::new (line 86) ... FAILED [INFO] [stdout] test src/lib.rs - TrackedWarning (line 230) ... ok [INFO] [stdout] test src/lib.rs - TrackedWarning (line 297) ... ok [INFO] [stdout] test src/lib.rs - Trivialize (line 1088) ... ok [INFO] [stdout] test src/lib.rs - Warnable::merge (line 777) ... ok [INFO] [stdout] test src/lib.rs - Warnable (line 334) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - DefaultWarning (line 64) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use your_crate::DefaultWarning; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - Result (line 155) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `str: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | fn compute() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'static str` to implement `std::error::Error` [INFO] [stdout] note: required by a bound in `Warnable` [INFO] [stdout] --> src/lib.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Warnable + 'static = DefaultLogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Warnable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(Warnable::new(value, None, StdErrLogger)) [INFO] [stdout] | ^^^^^^^^ the trait `std::error::Error` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'static str` to implement `std::error::Error` [INFO] [stdout] note: required by a bound in `Warnable` [INFO] [stdout] --> src/lib.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Warnable + 'static = DefaultLogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Warnable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(Warnable::new(value, None, StdErrLogger)) [INFO] [stdout] | ^^ the trait `std::error::Error` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'static str` to implement `std::error::Error` [INFO] [stdout] note: required by a bound in `Warnable` [INFO] [stdout] --> src/lib.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Warnable + 'static = DefaultLogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Warnable` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `str: std::error::Error` is not satisfied [INFO] [stdout] --> src/lib.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | Ok(Warnable::new(value, None, StdErrLogger)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::error::Error` is not implemented for `str` [INFO] [stdout] | [INFO] [stdout] = note: required for `&'static str` to implement `std::error::Error` [INFO] [stdout] note: required by a bound in `Warnable` [INFO] [stdout] --> src/lib.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct Warnable + 'static = DefaultLogger> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Warnable` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - DefaultWarning::new (line 86) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `your_crate` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | use your_crate::DefaultWarning; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [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 - DefaultWarning (line 64) [INFO] [stdout] src/lib.rs - DefaultWarning::new (line 86) [INFO] [stdout] src/lib.rs - Result (line 155) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 3 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.14s; merged doctests compilation took 0.17s [INFO] running `Command { std: "docker" "inspect" "12ebc7c3442cb761d8425207aad21ce47eb822d606073c98aa9bd8455e67ae4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ebc7c3442cb761d8425207aad21ce47eb822d606073c98aa9bd8455e67ae4f", kill_on_drop: false }` [INFO] [stdout] 12ebc7c3442cb761d8425207aad21ce47eb822d606073c98aa9bd8455e67ae4f