[INFO] fetching crate panic-no-std 0.0.1... [INFO] checking panic-no-std-0.0.1 against try#47988eeabf6090a44f37845ce0a796693c491c97 for pr-115974 [INFO] extracting crate panic-no-std 0.0.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate panic-no-std 0.0.1 on toolchain 47988eeabf6090a44f37845ce0a796693c491c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47988eeabf6090a44f37845ce0a796693c491c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate panic-no-std 0.0.1 [INFO] finished tweaking crates.io crate panic-no-std 0.0.1 [INFO] tweaked toml for crates.io crate panic-no-std 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47988eeabf6090a44f37845ce0a796693c491c97" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47988eeabf6090a44f37845ce0a796693c491c97" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+47988eeabf6090a44f37845ce0a796693c491c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bd3782b33be2e58aa1f343374e4d2bd87ab1d041c0eaf431ca6188008811336 [INFO] running `Command { std: "docker" "start" "-a" "4bd3782b33be2e58aa1f343374e4d2bd87ab1d041c0eaf431ca6188008811336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bd3782b33be2e58aa1f343374e4d2bd87ab1d041c0eaf431ca6188008811336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd3782b33be2e58aa1f343374e4d2bd87ab1d041c0eaf431ca6188008811336", kill_on_drop: false }` [INFO] [stdout] 4bd3782b33be2e58aa1f343374e4d2bd87ab1d041c0eaf431ca6188008811336 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+47988eeabf6090a44f37845ce0a796693c491c97" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c72730b320aa68496bf7acc248e99bca61f26012d0b24c63221ed84c4188efb2 [INFO] running `Command { std: "docker" "start" "-a" "c72730b320aa68496bf7acc248e99bca61f26012d0b24c63221ed84c4188efb2", kill_on_drop: false }` [INFO] [stderr] Checking exit-no-std v0.2.0 [INFO] [stderr] Checking panic-no-std v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(&message) = info.message() { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- this expression has type `Arguments<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `Arguments<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arguments<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: you might have meant to use field `fmt` whose type is `Option<&[core::fmt::rt::Placeholder]>` [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(&message) = info.message().fmt { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(&message) = info.message() { [INFO] [stdout] | ^^^^^^^^^^^^^^ -------------- this expression has type `Arguments<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `Arguments<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Arguments<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] help: you might have meant to use field `fmt` whose type is `Option<&[core::fmt::rt::Placeholder]>` [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(&message) = info.message().fmt { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `payload` found for reference `&PanicInfo<'_>` in the current scope [INFO] [stdout] --> src/lib.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | } else if let Some(message) = info.payload().downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^ method not found in `&PanicInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-no-std` (lib) due to 3 previous errors [INFO] [stdout] error[E0599]: no method named `payload` found for reference `&PanicInfo<'_>` in the current scope [INFO] [stdout] --> src/lib.rs:69:40 [INFO] [stdout] | [INFO] [stdout] 69 | } else if let Some(message) = info.payload().downcast_ref::<&str>() { [INFO] [stdout] | ^^^^^^^ method not found in `&PanicInfo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-no-std` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c72730b320aa68496bf7acc248e99bca61f26012d0b24c63221ed84c4188efb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72730b320aa68496bf7acc248e99bca61f26012d0b24c63221ed84c4188efb2", kill_on_drop: false }` [INFO] [stdout] c72730b320aa68496bf7acc248e99bca61f26012d0b24c63221ed84c4188efb2