[INFO] cloning repository https://github.com/CryShana/netstat-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CryShana/netstat-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryShana%2Fnetstat-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryShana%2Fnetstat-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfbe36f15395cce53ddb7171161929051fe86f42 [INFO] testing CryShana/netstat-rust against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryShana%2Fnetstat-rust" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CryShana/netstat-rust 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/CryShana/netstat-rust [INFO] finished tweaking git repo https://github.com/CryShana/netstat-rust [INFO] tweaked toml for git repo https://github.com/CryShana/netstat-rust written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/CryShana/netstat-rust 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-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 065b1d2857ded3016d44f392b9a992fe56427c400e4fbca2f26c7ec2d9207b2d [INFO] running `Command { std: "docker" "start" "-a" "065b1d2857ded3016d44f392b9a992fe56427c400e4fbca2f26c7ec2d9207b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "065b1d2857ded3016d44f392b9a992fe56427c400e4fbca2f26c7ec2d9207b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "065b1d2857ded3016d44f392b9a992fe56427c400e4fbca2f26c7ec2d9207b2d", kill_on_drop: false }` [INFO] [stdout] 065b1d2857ded3016d44f392b9a992fe56427c400e4fbca2f26c7ec2d9207b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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] 958fe6523e13662361c4832b9f3c8b260784b28dd0b8edd4b81d043328cbcf80 [INFO] running `Command { std: "docker" "start" "-a" "958fe6523e13662361c4832b9f3c8b260784b28dd0b8edd4b81d043328cbcf80", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sysinfo v0.17.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling netstat2 v0.9.1 [INFO] [stderr] Compiling netstat-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | let name = match sys.get_process(pid as usize) { [INFO] [stdout] | ^^^^^^^^^^^^ expected `i32`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to an `i32` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 133 | let name = match sys.get_process((pid as usize).try_into().unwrap()) { [INFO] [stdout] | + +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `netstat-rust` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "958fe6523e13662361c4832b9f3c8b260784b28dd0b8edd4b81d043328cbcf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958fe6523e13662361c4832b9f3c8b260784b28dd0b8edd4b81d043328cbcf80", kill_on_drop: false }` [INFO] [stdout] 958fe6523e13662361c4832b9f3c8b260784b28dd0b8edd4b81d043328cbcf80