[INFO] fetching crate mappedheap 0.1.1... [INFO] testing mappedheap-0.1.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate mappedheap 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mappedheap 0.1.1 [INFO] finished tweaking crates.io crate mappedheap 0.1.1 [INFO] tweaked toml for crates.io crate mappedheap 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mappedheap 0.1.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.0) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.27.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-atomics v1.0.2 [INFO] [stderr] Downloaded futex v0.1.3 [INFO] [stderr] Downloaded lock-wrappers v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ee3e07dd8efd95bdc9fe18462ffcb312e4e82bb3869cbc334af9d6a8066d848 [INFO] running `Command { std: "docker" "start" "-a" "4ee3e07dd8efd95bdc9fe18462ffcb312e4e82bb3869cbc334af9d6a8066d848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ee3e07dd8efd95bdc9fe18462ffcb312e4e82bb3869cbc334af9d6a8066d848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee3e07dd8efd95bdc9fe18462ffcb312e4e82bb3869cbc334af9d6a8066d848", kill_on_drop: false }` [INFO] [stdout] 4ee3e07dd8efd95bdc9fe18462ffcb312e4e82bb3869cbc334af9d6a8066d848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64977f8c2978b8059bb0816da59dac85ea57180fb685fd4ad9ef9c0edab3e818 [INFO] running `Command { std: "docker" "start" "-a" "64977f8c2978b8059bb0816da59dac85ea57180fb685fd4ad9ef9c0edab3e818", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling lock-wrappers v0.1.2 [INFO] [stderr] Compiling integer-atomics v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling futex v0.1.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling mappedheap v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 231 | Some(((fragment.addr + (id - fragment.offset) as usize * PAGESZ) as *mut [u8; PAGESZ])) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 231 - Some(((fragment.addr + (id - fragment.offset) as usize * PAGESZ) as *mut [u8; PAGESZ])) [INFO] [stdout] 231 + Some((fragment.addr + (id - fragment.offset) as usize * PAGESZ) as *mut [u8; PAGESZ]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/lib.rs:334:15 [INFO] [stdout] | [INFO] [stdout] 334 | #[cfg(debug)] [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(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` 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] error[E0599]: no function or associated item named `new` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | resize_lock: Mutex::new(), [INFO] [stdout] | ^^^ function or associated item not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | alloc_lock: Mutex::new(), [INFO] [stdout] | ^^^ function or associated item not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:273:28 [INFO] [stdout] | [INFO] [stdout] 273 | header.resize_lock.acquire(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | header.resize_lock.release(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:294:34 [INFO] [stdout] | [INFO] [stdout] 294 | self.header().alloc_lock.acquire(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 331 | self.header().alloc_lock.release(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `acquire` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:364:27 [INFO] [stdout] | [INFO] [stdout] 364 | header.alloc_lock.acquire(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:374:35 [INFO] [stdout] | [INFO] [stdout] 374 | header.alloc_lock.release(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `release` found for struct `futex::raw::Mutex` in the current scope [INFO] [stdout] --> src/lib.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | header.alloc_lock.release(); [INFO] [stdout] | ^^^^^^^ method not found in `futex::raw::Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mappedheap` (lib) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "64977f8c2978b8059bb0816da59dac85ea57180fb685fd4ad9ef9c0edab3e818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64977f8c2978b8059bb0816da59dac85ea57180fb685fd4ad9ef9c0edab3e818", kill_on_drop: false }` [INFO] [stdout] 64977f8c2978b8059bb0816da59dac85ea57180fb685fd4ad9ef9c0edab3e818