[INFO] cloning repository https://github.com/Web-Overlay-Network-Kit/wonk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Web-Overlay-Network-Kit/wonk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeb-Overlay-Network-Kit%2Fwonk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeb-Overlay-Network-Kit%2Fwonk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb316ab3ceaec8a90311e25be3eedc6d927fb2af [INFO] checking Web-Overlay-Network-Kit/wonk against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeb-Overlay-Network-Kit%2Fwonk" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Web-Overlay-Network-Kit/wonk [INFO] finished tweaking git repo https://github.com/Web-Overlay-Network-Kit/wonk [INFO] tweaked toml for git repo https://github.com/Web-Overlay-Network-Kit/wonk written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Web-Overlay-Network-Kit/wonk on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Web-Overlay-Network-Kit/wonk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135 [INFO] running `Command { std: "docker" "start" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking stun v0.1.0 (/opt/rustwide/workdir/stun) [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking relay v0.1.0 (/opt/rustwide/workdir/relay) [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> relay/src/turn.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 54 | Channel { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 55 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid` and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 58 | Send { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 59 | txid: [u8; 12], [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested_transport` is never read [INFO] [stdout] --> relay/src/turn.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 69 | Allocate { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 73 | requested_transport: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 76 | Permission { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 77 | txid: [u8; 12], [INFO] [stdout] 78 | username: &'i str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | key_data: [u8; 16], [INFO] [stdout] 80 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `channel`, and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 88 | BindChannel { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 89 | txid: [u8; 12], [INFO] [stdout] 90 | username: &'i str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | key_data: [u8; 16], [INFO] [stdout] 92 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::time::Instant` [INFO] [stdout] --> relay/src/main.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let expires = Instant::now() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 88 | | .add(Duration::from_secs(lifetime as u64)) [INFO] [stdout] 89 | | .into(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 88 - .add(Duration::from_secs(lifetime as u64)) [INFO] [stdout] 89 - .into(); [INFO] [stdout] 88 + .add(Duration::from_secs(lifetime as u64)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 87 ~ let expires = >::into(Instant::now() [INFO] [stdout] 88 ~ .add(Duration::from_secs(lifetime as u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> relay/src/turn.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 54 | Channel { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 55 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `txid` and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 58 | Send { [INFO] [stdout] | ---- fields in this variant [INFO] [stdout] 59 | txid: [u8; 12], [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `requested_transport` is never read [INFO] [stdout] --> relay/src/turn.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 69 | Allocate { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 73 | requested_transport: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username` and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 76 | Permission { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 77 | txid: [u8; 12], [INFO] [stdout] 78 | username: &'i str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | key_data: [u8; 16], [INFO] [stdout] 80 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `username`, `channel`, and `xpeer` are never read [INFO] [stdout] --> relay/src/turn.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 88 | BindChannel { [INFO] [stdout] | ----------- fields in this variant [INFO] [stdout] 89 | txid: [u8; 12], [INFO] [stdout] 90 | username: &'i str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 91 | key_data: [u8; 16], [INFO] [stdout] 92 | channel: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 93 | xpeer: SocketAddr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnReq` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::time::Instant` [INFO] [stdout] --> relay/src/main.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let expires = Instant::now() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 88 | | .add(Duration::from_secs(lifetime as u64)) [INFO] [stdout] 89 | | .into(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 88 - .add(Duration::from_secs(lifetime as u64)) [INFO] [stdout] 89 - .into(); [INFO] [stdout] 88 + .add(Duration::from_secs(lifetime as u64)); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 87 ~ let expires = >::into(Instant::now() [INFO] [stdout] 88 ~ .add(Duration::from_secs(lifetime as u64))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `relay` (bin "relay" test) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `relay` (bin "relay") due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: unused dependency `rand` [INFO] [stderr] --> relay/Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | rand = "0.8.5" [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `rand` [INFO] [stderr] warning: `relay` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135", kill_on_drop: false }` [INFO] [stdout] deb360d2a0e28ba03009001c9f424003905e96d192ad111ba513c2c2cd992135