[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 beta-2022-04-10 for beta-1.61-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-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ls1-sys-prog-course/task4-concurrency 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/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-1/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" "+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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4153f4c548d37354edcc5e95893f394dfd9d4d6a30538a510f8f1bbd85bf8cd [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" "c4153f4c548d37354edcc5e95893f394dfd9d4d6a30538a510f8f1bbd85bf8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4153f4c548d37354edcc5e95893f394dfd9d4d6a30538a510f8f1bbd85bf8cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4153f4c548d37354edcc5e95893f394dfd9d4d6a30538a510f8f1bbd85bf8cd", kill_on_drop: false }` [INFO] [stdout] c4153f4c548d37354edcc5e95893f394dfd9d4d6a30538a510f8f1bbd85bf8cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 4fa2c82533a447202d668d2bde8519d8b7382a18b9b31542f3d600d074c06918 [INFO] running `Command { std: "docker" "start" "-a" "4fa2c82533a447202d668d2bde8519d8b7382a18b9b31542f3d600d074c06918", kill_on_drop: false }` [INFO] [stderr] Compiling lockfreehashmap v0.0.1 (/opt/rustwide/workdir/lockfreehashmap) [INFO] [stderr] Compiling cspinlock v0.0.1 (/opt/rustwide/workdir/cspinlock) [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: `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: `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: `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: 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 2.44s [INFO] running `Command { std: "docker" "inspect" "4fa2c82533a447202d668d2bde8519d8b7382a18b9b31542f3d600d074c06918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa2c82533a447202d668d2bde8519d8b7382a18b9b31542f3d600d074c06918", kill_on_drop: false }` [INFO] [stdout] 4fa2c82533a447202d668d2bde8519d8b7382a18b9b31542f3d600d074c06918 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] a05d471d695eca21a94c342b21b7f8bf7f2d242358cdefe218b3c1ad7614f8c5 [INFO] running `Command { std: "docker" "start" "-a" "a05d471d695eca21a94c342b21b7f8bf7f2d242358cdefe218b3c1ad7614f8c5", 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] --> 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: 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: 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 test [unoptimized + debuginfo] target(s) in 2.17s [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" "a05d471d695eca21a94c342b21b7f8bf7f2d242358cdefe218b3c1ad7614f8c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a05d471d695eca21a94c342b21b7f8bf7f2d242358cdefe218b3c1ad7614f8c5", kill_on_drop: false }` [INFO] [stdout] a05d471d695eca21a94c342b21b7f8bf7f2d242358cdefe218b3c1ad7614f8c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 0b35918cbcab68728f9c2a3b05d09629ab5c65ad03c18896389a32098f794117 [INFO] running `Command { std: "docker" "start" "-a" "0b35918cbcab68728f9c2a3b05d09629ab5c65ad03c18896389a32098f794117", kill_on_drop: false }` [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: `lockhashmap` (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] --> 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: `cspinlock` (lib test) generated 3 warnings [INFO] [stderr] warning: `lockfreehashmap` (lib test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cspinlock-7648450219cc18bd) [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" "0b35918cbcab68728f9c2a3b05d09629ab5c65ad03c18896389a32098f794117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b35918cbcab68728f9c2a3b05d09629ab5c65ad03c18896389a32098f794117", kill_on_drop: false }` [INFO] [stdout] 0b35918cbcab68728f9c2a3b05d09629ab5c65ad03c18896389a32098f794117