[INFO] fetching crate portal-tunneler 0.1.0-beta.0... [INFO] testing portal-tunneler-0.1.0-beta.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate portal-tunneler 0.1.0-beta.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate portal-tunneler 0.1.0-beta.0 [INFO] finished tweaking crates.io crate portal-tunneler 0.1.0-beta.0 [INFO] tweaked toml for crates.io crate portal-tunneler 0.1.0-beta.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate portal-tunneler 0.1.0-beta.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate portal-tunneler 0.1.0-beta.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded portal-tunneler-proto v0.1.0-beta.0 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded portal-puncher-sm v0.1.0-beta.0 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded pem v3.0.3 [INFO] [stderr] Downloaded getrandom v0.2.13 [INFO] [stderr] Downloaded inlined v0.1.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1f39a2d808306914b990012c34b3d5d7923798e7706c23a48dbcbe5fb87e06a [INFO] running `Command { std: "docker" "start" "-a" "e1f39a2d808306914b990012c34b3d5d7923798e7706c23a48dbcbe5fb87e06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1f39a2d808306914b990012c34b3d5d7923798e7706c23a48dbcbe5fb87e06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f39a2d808306914b990012c34b3d5d7923798e7706c23a48dbcbe5fb87e06a", kill_on_drop: false }` [INFO] [stdout] e1f39a2d808306914b990012c34b3d5d7923798e7706c23a48dbcbe5fb87e06a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c12f4fc2a4a0c1eecc07f20fec505874206e5b748deed981072985d7616b9269 [INFO] running `Command { std: "docker" "start" "-a" "c12f4fc2a4a0c1eecc07f20fec505874206e5b748deed981072985d7616b9269", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling inlined v0.1.1 [INFO] [stderr] Compiling portal-puncher-sm v0.1.0-beta.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.13 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rcgen v0.12.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quinn-udp v0.4.1 [INFO] [stderr] Compiling quinn-proto v0.10.6 [INFO] [stderr] Compiling quinn v0.10.2 [INFO] [stderr] Compiling portal-tunneler-proto v0.1.0-beta.0 [INFO] [stderr] Compiling portal-tunneler v0.1.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/utils/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `extract_if` has been stable since 1.87.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(extract_if)] // TODO: Remove once API is stabilized [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client/run.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | for spec in tunnels.extract_if(|spec| spec.side == TunnelSide::Local) { [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 21 | for spec in tunnels.extract_if(|spec: /* Type */| spec.side == TunnelSide::Local) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/client/run.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | for spec in tunnels.extract_if(|spec| spec.side == TunnelSide::Local) { [INFO] [stdout] | ^^^^^^^^^^--------------------------------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/vec/mod.rs:3970:12 [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 21 | for spec in tunnels.extract_if(|spec| spec.side == TunnelSide::Local, /* filter */) { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `portal-tunneler` (bin "portal") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c12f4fc2a4a0c1eecc07f20fec505874206e5b748deed981072985d7616b9269", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c12f4fc2a4a0c1eecc07f20fec505874206e5b748deed981072985d7616b9269", kill_on_drop: false }` [INFO] [stdout] c12f4fc2a4a0c1eecc07f20fec505874206e5b748deed981072985d7616b9269