[INFO] fetching crate rd-std 0.1.0... [INFO] checking rd-std-0.1.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate rd-std 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rd-std 0.1.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rd-std 0.1.0 [INFO] finished tweaking crates.io crate rd-std 0.1.0 [INFO] tweaked toml for crates.io crate rd-std 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.2.0) [INFO] [stderr] Adding socket2 v0.4.10 (available: v0.5.8) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8257c9178da815840fdd8dc5c855684d47f9e86f1426bd743c482c9c218437 [INFO] running `Command { std: "docker" "start" "-a" "df8257c9178da815840fdd8dc5c855684d47f9e86f1426bd743c482c9c218437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8257c9178da815840fdd8dc5c855684d47f9e86f1426bd743c482c9c218437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8257c9178da815840fdd8dc5c855684d47f9e86f1426bd743c482c9c218437", kill_on_drop: false }` [INFO] [stdout] df8257c9178da815840fdd8dc5c855684d47f9e86f1426bd743c482c9c218437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c4ce6b33d611352b21457821c6ae81cd6c5639dae37817fc967e5d639686da2 [INFO] running `Command { std: "docker" "start" "-a" "2c4ce6b33d611352b21457821c6ae81cd6c5639dae37817fc967e5d639686da2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rd-interface v0.4.0 [INFO] [stderr] Checking rd-std v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 96 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local_log` [INFO] [stdout] --> src/builtin/local.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | #[cfg(feature = "local_log")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `http`, `http_server`, and `plugin` [INFO] [stdout] = help: consider adding `local_log` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/socks5/client.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Socks5UdpSocket(UdpSocket, TcpStream, SocketAddr); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Socks5UdpSocket(UdpSocket, (), SocketAddr); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/socks5/server.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Socks5UdpSocket(UdpSocket, TcpStream, RwLock>); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Socks5UdpSocket(UdpSocket, (), RwLock>); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/socks5/client.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Socks5UdpSocket(UdpSocket, TcpStream, SocketAddr); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Socks5UdpSocket(UdpSocket, (), SocketAddr); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/socks5/server.rs:142:39 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Socks5UdpSocket(UdpSocket, TcpStream, RwLock>); [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Socks5UdpSocket(UdpSocket, (), RwLock>); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::io::Error` to `std::io::Error` [INFO] [stdout] --> src/socks5/common.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | return Err(Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 152 | | ErrorKind::InvalidData, [INFO] [stdout] 153 | | format!( [INFO] [stdout] 154 | | "server response wrong RSV {} RSV {} FRAG {}", [INFO] [stdout] ... | [INFO] [stdout] 158 | | .into()) [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `common::Address` to `common::Address` [INFO] [stdout] --> src/socks5/common.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let addr: Address = addr.into(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `rd_interface::Address` to `rd_interface::Address` [INFO] [stdout] --> src/socks5/server.rs:91:68 [INFO] [stdout] | [INFO] [stdout] 91 | .udp_bind(&mut Context::from_socketaddr(addr), dst.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `std::io::Error` to `std::io::Error` [INFO] [stdout] --> src/socks5/common.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | return Err(Error::new( [INFO] [stdout] | ________________________^ [INFO] [stdout] 152 | | ErrorKind::InvalidData, [INFO] [stdout] 153 | | format!( [INFO] [stdout] 154 | | "server response wrong RSV {} RSV {} FRAG {}", [INFO] [stdout] ... | [INFO] [stdout] 158 | | .into()) [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `common::Address` to `common::Address` [INFO] [stdout] --> src/socks5/common.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let addr: Address = addr.into(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `rd_interface::Address` to `rd_interface::Address` [INFO] [stdout] --> src/socks5/server.rs:91:68 [INFO] [stdout] | [INFO] [stdout] 91 | .udp_bind(&mut Context::from_socketaddr(addr), dst.into()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rd-std` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rd-std` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c4ce6b33d611352b21457821c6ae81cd6c5639dae37817fc967e5d639686da2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4ce6b33d611352b21457821c6ae81cd6c5639dae37817fc967e5d639686da2", kill_on_drop: false }` [INFO] [stdout] 2c4ce6b33d611352b21457821c6ae81cd6c5639dae37817fc967e5d639686da2