[INFO] fetching crate mappedheap 0.1.1... [INFO] checking mappedheap-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mappedheap 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mappedheap 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.9.2) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.21.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded integer-atomics v1.0.2 [INFO] [stderr] Downloaded lock-wrappers v0.1.2 [INFO] [stderr] Downloaded futex v0.1.3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 130fe258f123b3e91646d5de9e6d2b21a276a9707002340c431df22ae9dcd048 [INFO] running `Command { std: "docker" "start" "-a" "130fe258f123b3e91646d5de9e6d2b21a276a9707002340c431df22ae9dcd048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "130fe258f123b3e91646d5de9e6d2b21a276a9707002340c431df22ae9dcd048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "130fe258f123b3e91646d5de9e6d2b21a276a9707002340c431df22ae9dcd048", kill_on_drop: false }` [INFO] [stdout] 130fe258f123b3e91646d5de9e6d2b21a276a9707002340c431df22ae9dcd048 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afd35712678f7010661141a89db1f64ae0c8b87c88b6dbf4d928ad52bb8a8e59 [INFO] running `Command { std: "docker" "start" "-a" "afd35712678f7010661141a89db1f64ae0c8b87c88b6dbf4d928ad52bb8a8e59", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking integer-atomics v1.0.2 [INFO] [stderr] Checking lock-wrappers v0.1.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking futex v0.1.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking 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)]` 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] 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)]` 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 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 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 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 `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] 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] For more information about this error, try `rustc --explain E0599`. [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] [stderr] error: could not compile `mappedheap` (lib) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mappedheap` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afd35712678f7010661141a89db1f64ae0c8b87c88b6dbf4d928ad52bb8a8e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afd35712678f7010661141a89db1f64ae0c8b87c88b6dbf4d928ad52bb8a8e59", kill_on_drop: false }` [INFO] [stdout] afd35712678f7010661141a89db1f64ae0c8b87c88b6dbf4d928ad52bb8a8e59