[INFO] fetching crate dbg 1.0.4... [INFO] checking dbg-1.0.4 against 1.95.0 for pr-155915 [INFO] extracting crate dbg 1.0.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dbg 1.0.4 [INFO] finished tweaking crates.io crate dbg 1.0.4 [INFO] tweaked toml for crates.io crate dbg 1.0.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dbg 1.0.4 on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding version_check v0.1.5 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6afd443c7f67a1f69c38c9e0219de743b25a8ea4e8b3db47f9b9f6e2e09313e2 [INFO] running `Command { std: "docker" "start" "-a" "6afd443c7f67a1f69c38c9e0219de743b25a8ea4e8b3db47f9b9f6e2e09313e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6afd443c7f67a1f69c38c9e0219de743b25a8ea4e8b3db47f9b9f6e2e09313e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6afd443c7f67a1f69c38c9e0219de743b25a8ea4e8b3db47f9b9f6e2e09313e2", kill_on_drop: false }` [INFO] [stdout] 6afd443c7f67a1f69c38c9e0219de743b25a8ea4e8b3db47f9b9f6e2e09313e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca458d18d0de17830f488446dbe433bdcd479078538f4574df5f05428782a24 [INFO] running `Command { std: "docker" "start" "-a" "9ca458d18d0de17830f488446dbe433bdcd479078538f4574df5f05428782a24", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling dbg v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `use_nightly` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(use_nightly, feature(core_intrinsics, specialization))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(use_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `use_nightly` [INFO] [stdout] --> src/lib.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(use_nightly)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(use_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `use_nightly` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(use_nightly, feature(core_intrinsics, specialization))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(use_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `use_nightly` [INFO] [stdout] --> src/lib.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[cfg(use_nightly)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(use_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(use_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `X` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:86:62 [INFO] [stdout] | [INFO] [stdout] 86 | (if detailed { write!(&mut err, "{:#?}", _tmp) } [INFO] [stdout] | ----- ^^^^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 270 | dbg!(&a); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `X` [INFO] [stdout] = note: add `#[derive(Debug)]` to `X` or manually `impl Debug for X` [INFO] [stdout] help: the trait `Debug` is implemented for `WrapDebug` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl Debug for WrapDebug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&X` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WrapDebug<&X>` to implement `Debug` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `X` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 268 + #[derive(Debug)] [INFO] [stdout] 269 | struct X(usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `X` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:87:62 [INFO] [stdout] | [INFO] [stdout] 87 | else { write!(&mut err, "{:?}" , _tmp) }).unwrap(); [INFO] [stdout] | ---- ^^^^ `X` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 270 | dbg!(&a); [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `X` [INFO] [stdout] = note: add `#[derive(Debug)]` to `X` or manually `impl Debug for X` [INFO] [stdout] help: the trait `Debug` is implemented for `WrapDebug` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | impl Debug for WrapDebug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for `&X` to implement `Debug` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `WrapDebug<&X>` to implement `Debug` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `X` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 268 + #[derive(Debug)] [INFO] [stdout] 269 | struct X(usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dbg` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9ca458d18d0de17830f488446dbe433bdcd479078538f4574df5f05428782a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca458d18d0de17830f488446dbe433bdcd479078538f4574df5f05428782a24", kill_on_drop: false }` [INFO] [stdout] 9ca458d18d0de17830f488446dbe433bdcd479078538f4574df5f05428782a24