[INFO] fetching crate mappedheap 0.1.1... [INFO] testing mappedheap-0.1.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate mappedheap 0.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate mappedheap 0.1.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b531ed00d33802658a04d7f561e0bc4da49fd7b4c2eb72cd47feb06c1ec692fc [INFO] running `Command { std: "docker" "start" "-a" "b531ed00d33802658a04d7f561e0bc4da49fd7b4c2eb72cd47feb06c1ec692fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b531ed00d33802658a04d7f561e0bc4da49fd7b4c2eb72cd47feb06c1ec692fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b531ed00d33802658a04d7f561e0bc4da49fd7b4c2eb72cd47feb06c1ec692fc", kill_on_drop: false }` [INFO] [stdout] b531ed00d33802658a04d7f561e0bc4da49fd7b4c2eb72cd47feb06c1ec692fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a052a9a73b17bc44d4789555f1763c454940d2d01d09808dccbb667e3b2e9816 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a052a9a73b17bc44d4789555f1763c454940d2d01d09808dccbb667e3b2e9816", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling integer-atomics v1.0.2 [INFO] [stderr] Compiling lock-wrappers v0.1.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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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] error: aborting due to 9 previous errors; 1 warning emitted [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a052a9a73b17bc44d4789555f1763c454940d2d01d09808dccbb667e3b2e9816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a052a9a73b17bc44d4789555f1763c454940d2d01d09808dccbb667e3b2e9816", kill_on_drop: false }` [INFO] [stdout] a052a9a73b17bc44d4789555f1763c454940d2d01d09808dccbb667e3b2e9816