[INFO] cloning repository https://github.com/ls1-sys-prog-course/task4-concurrency [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ls1-sys-prog-course/task4-concurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask4-concurrency", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask4-concurrency'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 723762c4227fab5ab670e17ce8f5cd0613c4884a [INFO] testing ls1-sys-prog-course/task4-concurrency against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask4-concurrency" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ls1-sys-prog-course/task4-concurrency on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ls1-sys-prog-course/task4-concurrency [INFO] finished tweaking git repo https://github.com/ls1-sys-prog-course/task4-concurrency [INFO] tweaked toml for git repo https://github.com/ls1-sys-prog-course/task4-concurrency written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ls1-sys-prog-course/task4-concurrency already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4147ec95c3b3f70e34fe844c6017d98f97106e1479c3ee4014add51adc6a1d65 [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" "4147ec95c3b3f70e34fe844c6017d98f97106e1479c3ee4014add51adc6a1d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4147ec95c3b3f70e34fe844c6017d98f97106e1479c3ee4014add51adc6a1d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4147ec95c3b3f70e34fe844c6017d98f97106e1479c3ee4014add51adc6a1d65", kill_on_drop: false }` [INFO] [stdout] 4147ec95c3b3f70e34fe844c6017d98f97106e1479c3ee4014add51adc6a1d65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e894084ae55fbf0fba50fa0c48637bc8c6937163e8c9a462d070ab9159922093 [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" "e894084ae55fbf0fba50fa0c48637bc8c6937163e8c9a462d070ab9159922093", kill_on_drop: false }` [INFO] [stderr] Compiling lockhashmap v0.0.1 (/opt/rustwide/workdir/lockhashmap) [INFO] [stderr] Compiling lockfreehashmap v0.0.1 (/opt/rustwide/workdir/lockfreehashmap) [INFO] [stderr] Compiling cspinlock v0.0.1 (/opt/rustwide/workdir/cspinlock) [INFO] [stdout] warning: unused variable: `n_buckets` [INFO] [stdout] --> lockhashmap/src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_buckets` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn cspin_lock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn cspin_unlock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> cspinlock/src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn cspin_free(lock: *mut cspinlock_t) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "e894084ae55fbf0fba50fa0c48637bc8c6937163e8c9a462d070ab9159922093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e894084ae55fbf0fba50fa0c48637bc8c6937163e8c9a462d070ab9159922093", kill_on_drop: false }` [INFO] [stdout] e894084ae55fbf0fba50fa0c48637bc8c6937163e8c9a462d070ab9159922093 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3ce86614811bb0dded11e374a21be6894ad0443368d9f0713445b41e27e124c [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" "a3ce86614811bb0dded11e374a21be6894ad0443368d9f0713445b41e27e124c", kill_on_drop: false }` [INFO] [stderr] Compiling lockhashmap v0.0.1 (/opt/rustwide/workdir/lockhashmap) [INFO] [stderr] Compiling cspinlock v0.0.1 (/opt/rustwide/workdir/cspinlock) [INFO] [stderr] Compiling lockfreehashmap v0.0.1 (/opt/rustwide/workdir/lockfreehashmap) [INFO] [stdout] warning: unused variable: `n_buckets` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_buckets` [INFO] [stdout] --> lockhashmap/src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockhashmap/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockhashmap/src/lib.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn cspin_lock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn cspin_unlock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> cspinlock/src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn cspin_free(lock: *mut cspinlock_t) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "a3ce86614811bb0dded11e374a21be6894ad0443368d9f0713445b41e27e124c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ce86614811bb0dded11e374a21be6894ad0443368d9f0713445b41e27e124c", kill_on_drop: false }` [INFO] [stdout] a3ce86614811bb0dded11e374a21be6894ad0443368d9f0713445b41e27e124c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", 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] 4040916ada7de435dcda65af7fa4242b1d643326c65a5f6494bd9eb7c7fda2a2 [INFO] running `Command { std: "docker" "start" "-a" "4040916ada7de435dcda65af7fa4242b1d643326c65a5f6494bd9eb7c7fda2a2", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `n_buckets` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:15:44 [INFO] [stderr] | [INFO] [stderr] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockfreehashmap/src/lib.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: `lockfreehashmap` (lib test) generated 9 warnings [INFO] [stderr] warning: unused variable: `raw_lock` [INFO] [stderr] --> cspinlock/src/lib.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | pub extern "C" fn cspin_lock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `raw_lock` [INFO] [stderr] --> cspinlock/src/lib.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | pub extern "C" fn cspin_unlock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lock` [INFO] [stderr] --> cspinlock/src/lib.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | pub extern "C" fn cspin_free(lock: *mut cspinlock_t) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_buckets` [INFO] [stderr] --> lockhashmap/src/lib.rs:5:33 [INFO] [stderr] | [INFO] [stderr] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockhashmap/src/lib.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockhashmap/src/lib.rs:15:31 [INFO] [stderr] | [INFO] [stderr] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockhashmap/src/lib.rs:15:44 [INFO] [stderr] | [INFO] [stderr] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockhashmap/src/lib.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockhashmap/src/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockhashmap/src/lib.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `val` [INFO] [stderr] --> lockhashmap/src/lib.rs:27:44 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hm` [INFO] [stderr] --> lockhashmap/src/lib.rs:36:33 [INFO] [stderr] | [INFO] [stderr] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stderr] [INFO] [stderr] warning: `cspinlock` (lib test) generated 3 warnings [INFO] [stderr] warning: `lockhashmap` (lib test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cspinlock-83da1efee09f4d43) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockfreehashmap-a439986627c1f58f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockhashmap-f92248327bce7dab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4040916ada7de435dcda65af7fa4242b1d643326c65a5f6494bd9eb7c7fda2a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4040916ada7de435dcda65af7fa4242b1d643326c65a5f6494bd9eb7c7fda2a2", kill_on_drop: false }` [INFO] [stdout] 4040916ada7de435dcda65af7fa4242b1d643326c65a5f6494bd9eb7c7fda2a2