[INFO] cloning repository https://github.com/skibon02/data-structures-benchmark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/skibon02/data-structures-benchmark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskibon02%2Fdata-structures-benchmark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskibon02%2Fdata-structures-benchmark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eaac00af792bc7497233f2dca44201abfcca544d [INFO] checking skibon02/data-structures-benchmark against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fskibon02%2Fdata-structures-benchmark" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/skibon02/data-structures-benchmark [INFO] finished tweaking git repo https://github.com/skibon02/data-structures-benchmark [INFO] tweaked toml for git repo https://github.com/skibon02/data-structures-benchmark written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/skibon02/data-structures-benchmark on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/skibon02/data-structures-benchmark 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jemalloc-ctl v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b12648ae3ba0956db80699052f983bed0f19526a5ad9135320d16fe42058b65 [INFO] running `Command { std: "docker" "start" "-a" "7b12648ae3ba0956db80699052f983bed0f19526a5ad9135320d16fe42058b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b12648ae3ba0956db80699052f983bed0f19526a5ad9135320d16fe42058b65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b12648ae3ba0956db80699052f983bed0f19526a5ad9135320d16fe42058b65", kill_on_drop: false }` [INFO] [stdout] 7b12648ae3ba0956db80699052f983bed0f19526a5ad9135320d16fe42058b65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06b10580e1fcec9c7acff6b1ef1a20825e8907ddfa101e4f05012e7cfc962e3a [INFO] running `Command { std: "docker" "start" "-a" "06b10580e1fcec9c7acff6b1ef1a20825e8907ddfa101e4f05012e7cfc962e3a", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling jemalloc-sys v0.5.4+5.3.0-patched [INFO] [stderr] Checking jemalloc-ctl v0.5.4 [INFO] [stderr] Checking jemallocator v0.5.4 [INFO] [stderr] Checking data-structures-benchmark v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/regression.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let n = data.len() as f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_x` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_y` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_z` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_z` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_u` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_u` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | System.alloc(layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | System.dealloc(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | System.realloc(ptr, old, new_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / unsafe fn realloc( [INFO] [stdout] 33 | | &self, [INFO] [stdout] 34 | | ptr: *mut u8, [INFO] [stdout] 35 | | old: Layout, [INFO] [stdout] 36 | | new_size: usize, [INFO] [stdout] 37 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/regression.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | let n = data.len() as f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_x` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_x` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_y` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_y` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_z` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_z` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sum_u` is assigned to, but never used [INFO] [stdout] --> src/regression.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | let (mut sum_x, mut sum_y, mut sum_z, mut sum_u) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_sum_u` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let s: S = DataStruct::new_with_size(len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | System.alloc(layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | System.dealloc(ptr, layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::realloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | System.realloc(ptr, old, new_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / unsafe fn realloc( [INFO] [stdout] 33 | | &self, [INFO] [stdout] 34 | | ptr: *mut u8, [INFO] [stdout] 35 | | old: Layout, [INFO] [stdout] 36 | | new_size: usize, [INFO] [stdout] 37 | | ) -> *mut u8 { [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let s: S = DataStruct::new_with_size(len); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "06b10580e1fcec9c7acff6b1ef1a20825e8907ddfa101e4f05012e7cfc962e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b10580e1fcec9c7acff6b1ef1a20825e8907ddfa101e4f05012e7cfc962e3a", kill_on_drop: false }` [INFO] [stdout] 06b10580e1fcec9c7acff6b1ef1a20825e8907ddfa101e4f05012e7cfc962e3a