[INFO] cloning repository https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukioZzz%2Fls1-sys-prog-task4-concurrency-YukioZzz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukioZzz%2Fls1-sys-prog-task4-concurrency-YukioZzz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39cfaa088a968a8d03bc324ccc122394e1741e9c [INFO] testing YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYukioZzz%2Fls1-sys-prog-task4-concurrency-YukioZzz" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz [INFO] finished tweaking git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz [INFO] tweaked toml for git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87b9f47c497e3976ea5d65e3b9837926417e78d398644167862b289b620229c6 [INFO] running `Command { std: "docker" "start" "-a" "87b9f47c497e3976ea5d65e3b9837926417e78d398644167862b289b620229c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87b9f47c497e3976ea5d65e3b9837926417e78d398644167862b289b620229c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b9f47c497e3976ea5d65e3b9837926417e78d398644167862b289b620229c6", kill_on_drop: false }` [INFO] [stdout] 87b9f47c497e3976ea5d65e3b9837926417e78d398644167862b289b620229c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3cfa72b7abe6b40adca4064dcd34969b642cb4dd3eada6794e572a384078e5e [INFO] running `Command { std: "docker" "start" "-a" "e3cfa72b7abe6b40adca4064dcd34969b642cb4dd3eada6794e572a384078e5e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling cspinlock v0.0.1 (/opt/rustwide/workdir/cspinlock) [INFO] [stderr] Compiling lockhashmap v0.0.1 (/opt/rustwide/workdir/lockhashmap) [INFO] [stderr] Compiling lockfreehashmap v0.0.1 (/opt/rustwide/workdir/lockfreehashmap) [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: `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: `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: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: `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] --> 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] --> 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: `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] --> 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] --> 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: `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] --> 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] --> 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: `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] --> 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: `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: `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: 9 warnings emitted [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "e3cfa72b7abe6b40adca4064dcd34969b642cb4dd3eada6794e572a384078e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cfa72b7abe6b40adca4064dcd34969b642cb4dd3eada6794e572a384078e5e", kill_on_drop: false }` [INFO] [stdout] e3cfa72b7abe6b40adca4064dcd34969b642cb4dd3eada6794e572a384078e5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 020e23376d7b1bc253b649b4fafc1299a51d204d2b1b76b747afaf8af9d5ae61 [INFO] running `Command { std: "docker" "start" "-a" "020e23376d7b1bc253b649b4fafc1299a51d204d2b1b76b747afaf8af9d5ae61", kill_on_drop: false }` [INFO] [stderr] Compiling cspinlock v0.0.1 (/opt/rustwide/workdir/cspinlock) [INFO] [stderr] Compiling lockfreehashmap v0.0.1 (/opt/rustwide/workdir/lockfreehashmap) [INFO] [stderr] Compiling lockhashmap v0.0.1 (/opt/rustwide/workdir/lockhashmap) [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: `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: `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] --> 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: `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 test [unoptimized + debuginfo] target(s) in 0.53s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cspinlock-7648450219cc18bd) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/lockfreehashmap-a3b05c395827bdcf) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/lockhashmap-424fa7a23a593a50) [INFO] running `Command { std: "docker" "inspect" "020e23376d7b1bc253b649b4fafc1299a51d204d2b1b76b747afaf8af9d5ae61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020e23376d7b1bc253b649b4fafc1299a51d204d2b1b76b747afaf8af9d5ae61", kill_on_drop: false }` [INFO] [stdout] 020e23376d7b1bc253b649b4fafc1299a51d204d2b1b76b747afaf8af9d5ae61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd2ec8f506d395ec006de170ceee197e8f8a7405468943705e021e72eca204c3 [INFO] running `Command { std: "docker" "start" "-a" "bd2ec8f506d395ec006de170ceee197e8f8a7405468943705e021e72eca204c3", 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: `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: 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: `lockhashmap` (lib test) generated 9 warnings [INFO] [stderr] warning: `cspinlock` (lib test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cspinlock-7648450219cc18bd) [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 src/lib.rs (/opt/rustwide/target/debug/deps/lockfreehashmap-a3b05c395827bdcf) [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 src/lib.rs (/opt/rustwide/target/debug/deps/lockhashmap-424fa7a23a593a50) [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" "bd2ec8f506d395ec006de170ceee197e8f8a7405468943705e021e72eca204c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd2ec8f506d395ec006de170ceee197e8f8a7405468943705e021e72eca204c3", kill_on_drop: false }` [INFO] [stdout] bd2ec8f506d395ec006de170ceee197e8f8a7405468943705e021e72eca204c3