[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fls1-sys-prog-course%2Ftask4-concurrency" "/workspace/builds/worker-108/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-108/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ls1-sys-prog-course/task4-concurrency 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/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-108/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] 362d778481c4d0a812c309739acfc75868d4856a2d4182aab4a280a12164fa8d [INFO] running `Command { std: "docker" "start" "-a" "362d778481c4d0a812c309739acfc75868d4856a2d4182aab4a280a12164fa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "362d778481c4d0a812c309739acfc75868d4856a2d4182aab4a280a12164fa8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362d778481c4d0a812c309739acfc75868d4856a2d4182aab4a280a12164fa8d", kill_on_drop: false }` [INFO] [stdout] 362d778481c4d0a812c309739acfc75868d4856a2d4182aab4a280a12164fa8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] 6cfe284490c94878fdb1b3f8c385b92e915ef92ae6db04863f996faf77351783 [INFO] running `Command { std: "docker" "start" "-a" "6cfe284490c94878fdb1b3f8c385b92e915ef92ae6db04863f996faf77351783", kill_on_drop: false }` [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: `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: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub extern "C" fn cspin_lock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn cspin_unlock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> cspinlock/src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn cspin_free(lock: *mut cspinlock_t) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 41s [INFO] running `Command { std: "docker" "inspect" "6cfe284490c94878fdb1b3f8c385b92e915ef92ae6db04863f996faf77351783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfe284490c94878fdb1b3f8c385b92e915ef92ae6db04863f996faf77351783", kill_on_drop: false }` [INFO] [stdout] 6cfe284490c94878fdb1b3f8c385b92e915ef92ae6db04863f996faf77351783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] a849a23857a5aae995851abc777e287d79379ea4fd428be298909e9f25189c84 [INFO] running `Command { std: "docker" "start" "-a" "a849a23857a5aae995851abc777e287d79379ea4fd428be298909e9f25189c84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `n_buckets` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn alloc_hashmap(n_buckets: libc::size_t) -> *mut HM { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_buckets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub extern "C" fn free_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub extern "C" fn insert_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | pub extern "C" fn remove_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern "C" fn lookup_item(hm: *mut HM, val: libc::c_long) -> libc::c_int { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> lockfreehashmap/src/lib.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | pub extern "C" fn print_hashmap(hm: *mut HM) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `raw_lock` [INFO] [stdout] --> cspinlock/src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn cspin_unlock(raw_lock: *mut cspinlock_t) -> libc::c_int { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock` [INFO] [stdout] --> cspinlock/src/lib.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub extern "C" fn cspin_free(lock: *mut cspinlock_t) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hm` [INFO] [stdout] --> 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "a849a23857a5aae995851abc777e287d79379ea4fd428be298909e9f25189c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a849a23857a5aae995851abc777e287d79379ea4fd428be298909e9f25189c84", kill_on_drop: false }` [INFO] [stdout] a849a23857a5aae995851abc777e287d79379ea4fd428be298909e9f25189c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-108/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] 58487305a2217144c0791c180e0ef85ba2ade1b04fecb6c4a1dbe17e548c1871 [INFO] running `Command { std: "docker" "start" "-a" "58487305a2217144c0791c180e0ef85ba2ade1b04fecb6c4a1dbe17e548c1871", kill_on_drop: false }` [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: `cspinlock` (lib test) generated 3 warnings [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: 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: `lockfreehashmap` (lib test) generated 9 warnings [INFO] [stderr] warning: `lockhashmap` (lib test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cspinlock-c7fb716412cdbe64) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockfreehashmap-644ea4fec45c7bc8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockhashmap-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] running `Command { std: "docker" "inspect" "58487305a2217144c0791c180e0ef85ba2ade1b04fecb6c4a1dbe17e548c1871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58487305a2217144c0791c180e0ef85ba2ade1b04fecb6c4a1dbe17e548c1871", kill_on_drop: false }` [INFO] [stdout] 58487305a2217144c0791c180e0ef85ba2ade1b04fecb6c4a1dbe17e548c1871