[INFO] cloning repository https://github.com/guigo613/gunion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guigo613/gunion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguigo613%2Fgunion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguigo613%2Fgunion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2154894ca1a6288e49705c3d86a27a943a71eadf
[INFO] checking guigo613/gunion against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguigo613%2Fgunion" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/guigo613/gunion
[INFO] finished tweaking git repo https://github.com/guigo613/gunion
[INFO] tweaked toml for git repo https://github.com/guigo613/gunion written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/guigo613/gunion on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/guigo613/gunion 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded pkg-config v0.3.27
[INFO] [stderr]   Downloaded proc-macro2 v1.0.67
[INFO] [stderr]   Downloaded bitflags v2.4.0
[INFO] [stderr]   Downloaded cc v1.0.83
[INFO] [stderr]   Downloaded openssl-sys v0.9.93
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded regex v1.9.5
[INFO] [stderr]   Downloaded aho-corasick v1.1.1
[INFO] [stderr]   Downloaded openssl v0.10.57
[INFO] [stderr]   Downloaded syn v2.0.37
[INFO] [stderr]   Downloaded regex-syntax v0.7.5
[INFO] [stderr]   Downloaded regex-automata v0.3.8
[INFO] [stderr]   Downloaded libc v0.2.148
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a
[INFO] running `Command { std: "docker" "start" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking memchr v2.6.3
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]     Checking regex-syntax v0.7.5
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking once_cell v1.18.0
[INFO] [stderr]     Checking bitflags v2.4.0
[INFO] [stderr]     Checking aho-corasick v1.1.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]     Checking regex-automata v0.3.8
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking regex v1.9.5
[INFO] [stderr]     Checking gunion v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/func.rs:68:45
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let s: &mut dyn ReadWrite = &mut *(s.as_ref() as *const dyn ReadWrite as *mut _);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/func.rs:69:45
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let l: &mut dyn ReadWrite = &mut *(l.as_ref() as *const dyn ReadWrite as *mut _);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/func.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         ACCEPTOR.get_or_insert_with(new_acceptor)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/func.rs:68:45
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 let s: &mut dyn ReadWrite = &mut *(s.as_ref() as *const dyn ReadWrite as *mut _);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gunion` (lib) due to 2 previous errors; 1 warning emitted
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/func.rs:69:45
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 let l: &mut dyn ReadWrite = &mut *(l.as_ref() as *const dyn ReadWrite as *mut _);
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/func.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         ACCEPTOR.get_or_insert_with(new_acceptor)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gunion` (lib test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a", kill_on_drop: false }`
[INFO] [stdout] 3a21158bd8d5710e4395762a9196dc9307b56af9f65a51fab8f11da30a176f1a
