[INFO] fetching crate mappedheap 0.1.1... [INFO] checking mappedheap-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate mappedheap 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate mappedheap 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding tempfile v2.2.0 (available: v3.12.0) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futex v0.1.3 [INFO] [stderr] Downloaded integer-atomics v1.0.2 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded lock-wrappers v0.1.2 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1228d1b6541d835901bd59278765ff85c40abcc35b69cd6dc87cac4a793d455 [INFO] running `Command { std: "docker" "start" "-a" "a1228d1b6541d835901bd59278765ff85c40abcc35b69cd6dc87cac4a793d455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1228d1b6541d835901bd59278765ff85c40abcc35b69cd6dc87cac4a793d455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1228d1b6541d835901bd59278765ff85c40abcc35b69cd6dc87cac4a793d455", kill_on_drop: false }` [INFO] [stdout] a1228d1b6541d835901bd59278765ff85c40abcc35b69cd6dc87cac4a793d455 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48ec3b96263afa07b125660dc3c7febfcc227249ea080c3a6173a7cb596be458 [INFO] running `Command { std: "docker" "start" "-a" "48ec3b96263afa07b125660dc3c7febfcc227249ea080c3a6173a7cb596be458", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking integer-atomics v1.0.2 [INFO] [stderr] Checking lock-wrappers v0.1.2 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking futex v0.1.3 [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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `Mutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings 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; 2 warnings 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` (lib) due to 10 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mappedheap` (lib test) due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48ec3b96263afa07b125660dc3c7febfcc227249ea080c3a6173a7cb596be458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ec3b96263afa07b125660dc3c7febfcc227249ea080c3a6173a7cb596be458", kill_on_drop: false }` [INFO] [stdout] 48ec3b96263afa07b125660dc3c7febfcc227249ea080c3a6173a7cb596be458