[INFO] cloning repository https://github.com/12101111/nettest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/12101111/nettest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12101111%2Fnettest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12101111%2Fnettest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4b9346115df8a42fe5269c9dac33bb8ec3638cd [INFO] checking 12101111/nettest against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12101111%2Fnettest" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/12101111/nettest 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/12101111/nettest [INFO] removed workspace from git repo https://github.com/12101111/nettest [INFO] finished tweaking git repo https://github.com/12101111/nettest [INFO] tweaked toml for git repo https://github.com/12101111/nettest written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/12101111/nettest 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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rust-random/rand.git` [INFO] [stderr] Updating git repository `https://github.com/alexcrichton/socket2-rs.git` [INFO] [stderr] warning: Patch `rand v0.8.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Patch `rand v0.8.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] c80ad8c45447783b88c1221fcb319bca9734d8b7f3ec6b8af2f3389a807c3af8 [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" "c80ad8c45447783b88c1221fcb319bca9734d8b7f3ec6b8af2f3389a807c3af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c80ad8c45447783b88c1221fcb319bca9734d8b7f3ec6b8af2f3389a807c3af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80ad8c45447783b88c1221fcb319bca9734d8b7f3ec6b8af2f3389a807c3af8", kill_on_drop: false }` [INFO] [stdout] c80ad8c45447783b88c1221fcb319bca9734d8b7f3ec6b8af2f3389a807c3af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 1c97dc6456669750c87866f665a3310821822b5832df8ae35d5bed15210cda5c [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" "1c97dc6456669750c87866f665a3310821822b5832df8ae35d5bed15210cda5c", kill_on_drop: false }` [INFO] [stderr] warning: Patch `rand v0.8.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#34aa769d)` was not used in the crate graph. [INFO] [stderr] Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking socket2 v0.4.0-alpha.1 (https://github.com/alexcrichton/socket2-rs.git#35c26913) [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking ring v0.16.19 [INFO] [stderr] Compiling quiche v0.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking nettest v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ping.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | .recv_from(&mut buffer) [INFO] [stdout] | ^^^^^^^^^^^ expected slice, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [MaybeUninit]` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_std` found for struct `SockAddr` in the current scope [INFO] [stdout] --> src/ping.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let ip = addr.as_std().unwrap().ip(); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `as_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ping.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | .recv_from(&mut buffer) [INFO] [stdout] | ^^^^^^^^^^^ expected slice, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [MaybeUninit]` [INFO] [stdout] found mutable reference `&mut Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_std` found for struct `SockAddr` in the current scope [INFO] [stdout] --> src/ping.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let ip = addr.as_std().unwrap().ip(); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `as_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nettest` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1c97dc6456669750c87866f665a3310821822b5832df8ae35d5bed15210cda5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c97dc6456669750c87866f665a3310821822b5832df8ae35d5bed15210cda5c", kill_on_drop: false }` [INFO] [stdout] 1c97dc6456669750c87866f665a3310821822b5832df8ae35d5bed15210cda5c