[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#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F12101111%2Fnettest" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/12101111/nettest on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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-3/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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.3 (https://github.com/rust-random/rand.git#6ecbe262)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#6ecbe262)` 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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Patch `rand v0.8.3 (https://github.com/rust-random/rand.git#6ecbe262)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#6ecbe262)` 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", 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] bc674b043e5bf3bb2d095a0d675bbd5d52035acdea08ded99169dabfac290444 [INFO] running `Command { std: "docker" "start" "-a" "bc674b043e5bf3bb2d095a0d675bbd5d52035acdea08ded99169dabfac290444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc674b043e5bf3bb2d095a0d675bbd5d52035acdea08ded99169dabfac290444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc674b043e5bf3bb2d095a0d675bbd5d52035acdea08ded99169dabfac290444", kill_on_drop: false }` [INFO] [stdout] bc674b043e5bf3bb2d095a0d675bbd5d52035acdea08ded99169dabfac290444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "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] 659e0c0d97d1326b5beea1d9ec287d544b50713740521a14beb96eba5c88b7e8 [INFO] running `Command { std: "docker" "start" "-a" "659e0c0d97d1326b5beea1d9ec287d544b50713740521a14beb96eba5c88b7e8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: Patch `rand v0.8.3 (https://github.com/rust-random/rand.git#6ecbe262)` was not used in the crate graph. [INFO] [stderr] Patch `rand_core v0.6.1 (https://github.com/rust-random/rand.git#6ecbe262)` 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 version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0-alpha.3 (https://github.com/alexcrichton/socket2-rs.git#c3b447e1) [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.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 ring v0.16.19 [INFO] [stderr] Compiling quiche v0.4.0 [INFO] [stderr] Compiling quote v1.0.8 [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" "659e0c0d97d1326b5beea1d9ec287d544b50713740521a14beb96eba5c88b7e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659e0c0d97d1326b5beea1d9ec287d544b50713740521a14beb96eba5c88b7e8", kill_on_drop: false }` [INFO] [stdout] 659e0c0d97d1326b5beea1d9ec287d544b50713740521a14beb96eba5c88b7e8