[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f3def7f9aac3083bfd6e04a2dad3f591d50688b [INFO] checking mattbullen/node-rust-ffi against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattbullen%2Fnode-rust-ffi" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattbullen/node-rust-ffi on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "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-0/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-0/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-0/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" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-0/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4acddced28801319fbabd9857b8880fdf2dd5124cba51171c022fcf1c6d4fc1b [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" "4acddced28801319fbabd9857b8880fdf2dd5124cba51171c022fcf1c6d4fc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4acddced28801319fbabd9857b8880fdf2dd5124cba51171c022fcf1c6d4fc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4acddced28801319fbabd9857b8880fdf2dd5124cba51171c022fcf1c6d4fc1b", kill_on_drop: false }` [INFO] [stdout] 4acddced28801319fbabd9857b8880fdf2dd5124cba51171c022fcf1c6d4fc1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--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] 7614f31c7f4ac0587a2decc65125b7025c8c270d8172d51dd7eeebb957f5bf48 [INFO] running `Command { std: "docker" "start" "-a" "7614f31c7f4ac0587a2decc65125b7025c8c270d8172d51dd7eeebb957f5bf48", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] Checking cc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 0.69s [INFO] running `Command { std: "docker" "inspect" "7614f31c7f4ac0587a2decc65125b7025c8c270d8172d51dd7eeebb957f5bf48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7614f31c7f4ac0587a2decc65125b7025c8c270d8172d51dd7eeebb957f5bf48", kill_on_drop: false }` [INFO] [stdout] 7614f31c7f4ac0587a2decc65125b7025c8c270d8172d51dd7eeebb957f5bf48