[INFO] cloning repository https://github.com/mattbullen/node-rust-ffi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattbullen/node-rust-ffi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbullen%2Fnode-rust-ffi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbullen%2Fnode-rust-ffi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f3def7f9aac3083bfd6e04a2dad3f591d50688b [INFO] checking mattbullen/node-rust-ffi against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbullen%2Fnode-rust-ffi" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattbullen/node-rust-ffi on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattbullen/node-rust-ffi [INFO] finished tweaking git repo https://github.com/mattbullen/node-rust-ffi [INFO] tweaked toml for git repo https://github.com/mattbullen/node-rust-ffi written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mattbullen/node-rust-ffi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-7/source/src/cc.rs` was erroneously implicitly accepted for library `cc`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-7/source/src/cc.rs` was erroneously implicitly accepted for library `cc`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb5c8f76f8ce05327edcc7ce0e6766d96d7c812303518c1d21e119cb924009f [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" "bcb5c8f76f8ce05327edcc7ce0e6766d96d7c812303518c1d21e119cb924009f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb5c8f76f8ce05327edcc7ce0e6766d96d7c812303518c1d21e119cb924009f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb5c8f76f8ce05327edcc7ce0e6766d96d7c812303518c1d21e119cb924009f", kill_on_drop: false }` [INFO] [stdout] bcb5c8f76f8ce05327edcc7ce0e6766d96d7c812303518c1d21e119cb924009f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0cb8529f7d7ac525fc3bd5e8520265b09ce3d2b22a059ec1f639572d1a748a6 [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" "a0cb8529f7d7ac525fc3bd5e8520265b09ce3d2b22a059ec1f639572d1a748a6", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/cc.rs` was erroneously implicitly accepted for library `cc`, [INFO] [stderr] please rename the file to `src/lib.rs` or set lib.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_char, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn how_many_characters(s: *const c_char) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | r_str.chars().count() as uint32_t [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:8:56 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern fn how_many_characters(s: *const c_char) -> uint32_t { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/cc.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | r_str.chars().count() as uint32_t [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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 3.13s [INFO] running `Command { std: "docker" "inspect" "a0cb8529f7d7ac525fc3bd5e8520265b09ce3d2b22a059ec1f639572d1a748a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0cb8529f7d7ac525fc3bd5e8520265b09ce3d2b22a059ec1f639572d1a748a6", kill_on_drop: false }` [INFO] [stdout] a0cb8529f7d7ac525fc3bd5e8520265b09ce3d2b22a059ec1f639572d1a748a6