[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [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-35/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-35/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YukioZzz/ls1-sys-prog-task4-concurrency-YukioZzz on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-35/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cec3c29c31f7af9b5428d8026e4962c7c80c514cf5ea974beebc62ac8757a753 [INFO] running `Command { std: "docker" "start" "-a" "cec3c29c31f7af9b5428d8026e4962c7c80c514cf5ea974beebc62ac8757a753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cec3c29c31f7af9b5428d8026e4962c7c80c514cf5ea974beebc62ac8757a753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec3c29c31f7af9b5428d8026e4962c7c80c514cf5ea974beebc62ac8757a753", kill_on_drop: false }` [INFO] [stdout] cec3c29c31f7af9b5428d8026e4962c7c80c514cf5ea974beebc62ac8757a753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 727398d666c38e320641295419678891a19df68e03a238a03eccbcba0cbf902a [INFO] running `Command { std: "docker" "start" "-a" "727398d666c38e320641295419678891a19df68e03a238a03eccbcba0cbf902a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [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: `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: 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 47.08s [INFO] running `Command { std: "docker" "inspect" "727398d666c38e320641295419678891a19df68e03a238a03eccbcba0cbf902a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "727398d666c38e320641295419678891a19df68e03a238a03eccbcba0cbf902a", kill_on_drop: false }` [INFO] [stdout] 727398d666c38e320641295419678891a19df68e03a238a03eccbcba0cbf902a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d2ac1ccf2e0f349a46f7d97b50cff43098b88117cb2a51f4fa2f01470ead19 [INFO] running `Command { std: "docker" "start" "-a" "20d2ac1ccf2e0f349a46f7d97b50cff43098b88117cb2a51f4fa2f01470ead19", 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] --> 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: `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: `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: `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: `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: `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: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] --> 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] --> 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: `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: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: `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] --> 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: `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] --> 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: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.32s [INFO] running `Command { std: "docker" "inspect" "20d2ac1ccf2e0f349a46f7d97b50cff43098b88117cb2a51f4fa2f01470ead19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d2ac1ccf2e0f349a46f7d97b50cff43098b88117cb2a51f4fa2f01470ead19", kill_on_drop: false }` [INFO] [stdout] 20d2ac1ccf2e0f349a46f7d97b50cff43098b88117cb2a51f4fa2f01470ead19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 756cf4a3de4174e6d4e4d4844aaac92d380a4a75602b3477ed0ca11298d77742 [INFO] running `Command { std: "docker" "start" "-a" "756cf4a3de4174e6d4e4d4844aaac92d380a4a75602b3477ed0ca11298d77742", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cspinlock-c7fb716412cdbe64) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockfreehashmap-644ea4fec45c7bc8) [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-e286e58ba264f2e1) [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] running `Command { std: "docker" "inspect" "756cf4a3de4174e6d4e4d4844aaac92d380a4a75602b3477ed0ca11298d77742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756cf4a3de4174e6d4e4d4844aaac92d380a4a75602b3477ed0ca11298d77742", kill_on_drop: false }` [INFO] [stdout] 756cf4a3de4174e6d4e4d4844aaac92d380a4a75602b3477ed0ca11298d77742