[INFO] fetching crate mappedheap 0.1.1... [INFO] checking mappedheap-0.1.1 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate mappedheap 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate mappedheap 0.1.1 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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] fe5cd303f44b647e2fb6abc024b3515fc1db8e29b5c914cdfd847002f27370d1 [INFO] running `Command { std: "docker" "start" "-a" "fe5cd303f44b647e2fb6abc024b3515fc1db8e29b5c914cdfd847002f27370d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe5cd303f44b647e2fb6abc024b3515fc1db8e29b5c914cdfd847002f27370d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe5cd303f44b647e2fb6abc024b3515fc1db8e29b5c914cdfd847002f27370d1", kill_on_drop: false }` [INFO] [stdout] fe5cd303f44b647e2fb6abc024b3515fc1db8e29b5c914cdfd847002f27370d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 40cc397292f06d2d4bca9b8e3a1ccb037f5685c70ad82edd94646f14582a7872 [INFO] running `Command { std: "docker" "start" "-a" "40cc397292f06d2d4bca9b8e3a1ccb037f5685c70ad82edd94646f14582a7872", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 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: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 `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: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 `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 `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 `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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "40cc397292f06d2d4bca9b8e3a1ccb037f5685c70ad82edd94646f14582a7872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cc397292f06d2d4bca9b8e3a1ccb037f5685c70ad82edd94646f14582a7872", kill_on_drop: false }` [INFO] [stdout] 40cc397292f06d2d4bca9b8e3a1ccb037f5685c70ad82edd94646f14582a7872