[INFO] fetching crate test_cp_first_lib 0.1.0...
[INFO] checking test_cp_first_lib-0.1.0 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate test_cp_first_lib 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate test_cp_first_lib 0.1.0
[INFO] finished tweaking crates.io crate test_cp_first_lib 0.1.0
[INFO] tweaked toml for crates.io crate test_cp_first_lib 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate test_cp_first_lib 0.1.0 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate test_cp_first_lib 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4eb0a9b3a9a9c5e022b79cdb63390f33e4802c783bde506e13a0870330f21249
[INFO] running `Command { std: "docker" "start" "-a" "4eb0a9b3a9a9c5e022b79cdb63390f33e4802c783bde506e13a0870330f21249", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4eb0a9b3a9a9c5e022b79cdb63390f33e4802c783bde506e13a0870330f21249", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4eb0a9b3a9a9c5e022b79cdb63390f33e4802c783bde506e13a0870330f21249", kill_on_drop: false }`
[INFO] [stdout] 4eb0a9b3a9a9c5e022b79cdb63390f33e4802c783bde506e13a0870330f21249
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62c66c127eac2e55968d10e359ec9b6da2b8b16ea3433cc3ea84b4b18c16ac64
[INFO] running `Command { std: "docker" "start" "-a" "62c66c127eac2e55968d10e359ec9b6da2b8b16ea3433cc3ea84b4b18c16ac64", kill_on_drop: false }`
[INFO] [stderr]     Checking test_cp_first_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:115:10
[INFO] [stdout]     |
[INFO] [stdout] 115 |     &mut *ptr
[INFO] [stdout]     |          ^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe fn ptr_to_mut_ref(ptr: *mut i32) -> &'static mut i32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]    --> src/lib.rs:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]    --> src/lib.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Person` is never constructed
[INFO] [stdout]    --> src/lib.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub struct Person {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]    --> src/lib.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub struct Person {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 147 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 148 |     age: u8,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:115:10
[INFO] [stdout]     |
[INFO] [stdout] 115 |     &mut *ptr
[INFO] [stdout]     |          ^^^^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub unsafe fn ptr_to_mut_ref(ptr: *mut i32) -> &'static mut i32 {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test_cp_first_lib` (lib) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]    --> src/lib.rs:178:16
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]    --> src/lib.rs:178:34
[INFO] [stdout]     |
[INFO] [stdout] 178 |     pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]     |                                  ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Person` is never constructed
[INFO] [stdout]    --> src/lib.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub struct Person {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]    --> src/lib.rs:147:5
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub struct Person {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 147 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 148 |     age: u8,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test_cp_first_lib` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "62c66c127eac2e55968d10e359ec9b6da2b8b16ea3433cc3ea84b4b18c16ac64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62c66c127eac2e55968d10e359ec9b6da2b8b16ea3433cc3ea84b4b18c16ac64", kill_on_drop: false }`
[INFO] [stdout] 62c66c127eac2e55968d10e359ec9b6da2b8b16ea3433cc3ea84b4b18c16ac64
