[INFO] fetching crate rlsf 0.2.1... [INFO] building rlsf-0.2.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rlsf 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rlsf 0.2.1 [INFO] finished tweaking crates.io crate rlsf 0.2.1 [INFO] tweaked toml for crates.io crate rlsf 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rlsf 0.2.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 95 packages to latest compatible versions [INFO] [stderr] Adding env_logger v0.7.1 (available: v0.11.8) [INFO] [stderr] Adding quickcheck v0.9.2 (available: v1.0.3) [INFO] [stderr] Adding quickcheck_macros v0.9.1 (available: v1.1.0) [INFO] [stderr] Adding svgbob v0.6.6 (available: v0.6.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-default v1.0.0 [INFO] [stderr] Downloaded quickcheck_macros v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88be89b2045c96c299dc5e6e78c2fbdae7d64700844a71b63e667d7daef647e3 [INFO] running `Command { std: "docker" "start" "-a" "88be89b2045c96c299dc5e6e78c2fbdae7d64700844a71b63e667d7daef647e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88be89b2045c96c299dc5e6e78c2fbdae7d64700844a71b63e667d7daef647e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88be89b2045c96c299dc5e6e78c2fbdae7d64700844a71b63e667d7daef647e3", kill_on_drop: false }` [INFO] [stdout] 88be89b2045c96c299dc5e6e78c2fbdae7d64700844a71b63e667d7daef647e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55dc269ccb81ac9cfc78cef4fc15caa3d76026c047389328a463d126daafe2b [INFO] running `Command { std: "docker" "start" "-a" "f55dc269ccb81ac9cfc78cef4fc15caa3d76026c047389328a463d126daafe2b", kill_on_drop: false }` [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling svgbobdoc v0.3.0 [INFO] [stderr] Compiling rlsf v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt` [INFO] [stdout] --> src/tlsf.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | debug_assert, debug_assert_eq, fmt, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/utils.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { (*(ptr.as_ptr() as *const [MaybeUninit])).len() } [INFO] [stdout] | ^^-----------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [MaybeUninit]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[MaybeUninit]` [INFO] [stdout] --> src/utils.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { (*(ptr.as_ptr() as *const [MaybeUninit])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { (&(*(ptr.as_ptr() as *const [MaybeUninit]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global/unix.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { libc::pthread_mutex_lock(&mut MUTEX) }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { libc::pthread_mutex_lock(&raw mut MUTEX) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/global/unix.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { libc::pthread_mutex_unlock(&mut MUTEX) }; [INFO] [stdout] | ^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { libc::pthread_mutex_unlock(&raw mut MUTEX) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlsf` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f55dc269ccb81ac9cfc78cef4fc15caa3d76026c047389328a463d126daafe2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55dc269ccb81ac9cfc78cef4fc15caa3d76026c047389328a463d126daafe2b", kill_on_drop: false }` [INFO] [stdout] f55dc269ccb81ac9cfc78cef4fc15caa3d76026c047389328a463d126daafe2b