[INFO] cloning repository https://github.com/p-h-c-s/rust-allocator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/p-h-c-s/rust-allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp-h-c-s%2Frust-allocator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp-h-c-s%2Frust-allocator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 649a6a7e8d00afb45e8041cad53634a2c7860c4e [INFO] checking p-h-c-s/rust-allocator against master#a7fc463dd8fbeca800d4b3efc501069502cffe64 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fp-h-c-s%2Frust-allocator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/p-h-c-s/rust-allocator on toolchain a7fc463dd8fbeca800d4b3efc501069502cffe64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/p-h-c-s/rust-allocator [INFO] finished tweaking git repo https://github.com/p-h-c-s/rust-allocator [INFO] tweaked toml for git repo https://github.com/p-h-c-s/rust-allocator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/p-h-c-s/rust-allocator already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa276bd1730df96a8cc32e75afba1f3785356da69e7e616126c77a278c71a791 [INFO] running `Command { std: "docker" "start" "-a" "fa276bd1730df96a8cc32e75afba1f3785356da69e7e616126c77a278c71a791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa276bd1730df96a8cc32e75afba1f3785356da69e7e616126c77a278c71a791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa276bd1730df96a8cc32e75afba1f3785356da69e7e616126c77a278c71a791", kill_on_drop: false }` [INFO] [stdout] fa276bd1730df96a8cc32e75afba1f3785356da69e7e616126c77a278c71a791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2678462509b1d8f0250a9985de84c426e4bb9fad62e3a67c0843ac0dc2b156a [INFO] running `Command { std: "docker" "start" "-a" "c2678462509b1d8f0250a9985de84c426e4bb9fad62e3a67c0843ac0dc2b156a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking rmalloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Locked` and `SbrkAllocator` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use allocator::sbrk::{Locked, SbrkAllocator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_mut_refs)] // allows static mut refs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Locked` and `SbrkAllocator` [INFO] [stdout] --> src/main.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use allocator::sbrk::{Locked, SbrkAllocator}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(const_mut_refs)] // allows static mut refs [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/sbrk.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let ptr = sbrk(size) as isize; [INFO] [stdout] | ---- ^^^^ expected `isize`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.155/src/unix/linux_like/mod.rs:1741:12 [INFO] [stdout] | [INFO] [stdout] 1741 | pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you can convert an `i32` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 65 | let ptr = sbrk(size.try_into().unwrap()) as isize; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/allocator/sbrk.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let ptr = sbrk(size) as isize; [INFO] [stdout] | ---- ^^^^ expected `isize`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.155/src/unix/linux_like/mod.rs:1741:12 [INFO] [stdout] | [INFO] [stdout] 1741 | pub fn sbrk(increment: ::intptr_t) -> *mut ::c_void; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you can convert an `i32` to an `isize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 65 | let ptr = sbrk(size.try_into().unwrap()) as isize; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmalloc` (bin "rmalloc") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rmalloc` (bin "rmalloc" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c2678462509b1d8f0250a9985de84c426e4bb9fad62e3a67c0843ac0dc2b156a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2678462509b1d8f0250a9985de84c426e4bb9fad62e3a67c0843ac0dc2b156a", kill_on_drop: false }` [INFO] [stdout] c2678462509b1d8f0250a9985de84c426e4bb9fad62e3a67c0843ac0dc2b156a