[INFO] cloning repository https://github.com/gogogoghost/linkur [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gogogoghost/linkur" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgogogoghost%2Flinkur", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgogogoghost%2Flinkur'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe7ffd8e391171bae2ddc30853e206aaa3c8e59d [INFO] testing gogogoghost/linkur against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgogogoghost%2Flinkur" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gogogoghost/linkur [INFO] finished tweaking git repo https://github.com/gogogoghost/linkur [INFO] tweaked toml for git repo https://github.com/gogogoghost/linkur written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gogogoghost/linkur on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gogogoghost/linkur 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded tappers v0.4.2 [INFO] [stderr] Downloaded jiff-static v0.2.8 [INFO] [stderr] Downloaded jiff v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a26a38a8756604b5eb0199236345bd95bf0170d9b41172cee543ba42d1ce358 [INFO] running `Command { std: "docker" "start" "-a" "9a26a38a8756604b5eb0199236345bd95bf0170d9b41172cee543ba42d1ce358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a26a38a8756604b5eb0199236345bd95bf0170d9b41172cee543ba42d1ce358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a26a38a8756604b5eb0199236345bd95bf0170d9b41172cee543ba42d1ce358", kill_on_drop: false }` [INFO] [stdout] 9a26a38a8756604b5eb0199236345bd95bf0170d9b41172cee543ba42d1ce358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 778199b2ac9ee4e39cf40ce33deba9926b15964c1db6ee13f24b1015a7966c0a [INFO] running `Command { std: "docker" "start" "-a" "778199b2ac9ee4e39cf40ce33deba9926b15964c1db6ee13f24b1015a7966c0a", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustls v0.23.26 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling quinn-udp v0.5.11 [INFO] [stderr] Compiling quinn v0.11.7 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling jiff v0.2.8 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tappers v0.4.2 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.1 [INFO] [stderr] Compiling quinn-proto v0.11.10 [INFO] [stderr] Compiling linkur v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, and `io` [INFO] [stdout] --> src/client.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | fs, io, [INFO] [stdout] | ^^ [INFO] [stdout] 3 | net::{IpAddr, Ipv4Addr, SocketAddr, UdpSocket}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HandshakeSignatureValid` and `RootCertStore` [INFO] [stdout] --> src/client.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | self, RootCertStore, SignatureScheme, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | client::danger::{HandshakeSignatureValid, ServerCertVerifier}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddAddressV4` [INFO] [stdout] --> src/client.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | use tappers::{AddAddressV4, tokio::AsyncTap}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test-cert.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | let cert = PemObject::from_pem_slice(include_bytes!("../test-cert.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../test-key.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/server.rs:162:41 [INFO] [stdout] | [INFO] [stdout] 162 | let key = PemObject::from_pem_slice(include_bytes!("../test-key.pem")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `base64` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{Engine, engine::general_purpose}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `base64` [INFO] [stdout] --> src/server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{Engine, engine::general_purpose}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `base64` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `base64`, use `cargo add base64` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/client.rs:92:80 [INFO] [stdout] | [INFO] [stdout] 80 | fn get_mac_address(interface: &str) -> [u8; 6] { [INFO] [stdout] | ---------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 92 | mac_bytes[i] = u8::from_str_radix(chunk, 16).map_err(|e| e.to_string())?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `[u8; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/client.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | message: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/client.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | cert: &rustls::pki_types::CertificateDer<'_>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dss` [INFO] [stdout] --> src/client.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | dss: &rustls::DigitallySignedStruct, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/client.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | message: &[u8], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cert` [INFO] [stdout] --> src/client.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | cert: &rustls::pki_types::CertificateDer<'_>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dss` [INFO] [stdout] --> src/client.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | dss: &rustls::DigitallySignedStruct, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_entity` [INFO] [stdout] --> src/client.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | end_entity: &rustls::pki_types::CertificateDer<'_>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intermediates` [INFO] [stdout] --> src/client.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | intermediates: &[rustls::pki_types::CertificateDer<'_>], [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intermediates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_name` [INFO] [stdout] --> src/client.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | server_name: &rustls::pki_types::ServerName<'_>, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ocsp_response` [INFO] [stdout] --> src/client.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | ocsp_response: &[u8], [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ocsp_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/client.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | now: rustls::pki_types::UnixTime, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mac` [INFO] [stdout] --> src/client.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mac = get_mac_address(&tap_name); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/client.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | let (mut send, mut recv) = connection.open_bi().await.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/client.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | let id = "123456"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let mut tap = AsyncTap::new().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | let (mut send, mut recv) = connection.open_bi().await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linkur` (bin "server") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `linkur` (bin "client") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "778199b2ac9ee4e39cf40ce33deba9926b15964c1db6ee13f24b1015a7966c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778199b2ac9ee4e39cf40ce33deba9926b15964c1db6ee13f24b1015a7966c0a", kill_on_drop: false }` [INFO] [stdout] 778199b2ac9ee4e39cf40ce33deba9926b15964c1db6ee13f24b1015a7966c0a