[INFO] cloning repository https://github.com/witchof0x20/sonicks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/witchof0x20/sonicks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwitchof0x20%2Fsonicks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwitchof0x20%2Fsonicks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 839b2486f5bcfabff60d26c1a6c398e7ea77b30c [INFO] checking witchof0x20/sonicks against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwitchof0x20%2Fsonicks" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/witchof0x20/sonicks [INFO] finished tweaking git repo https://github.com/witchof0x20/sonicks [INFO] tweaked toml for git repo https://github.com/witchof0x20/sonicks written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/witchof0x20/sonicks on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/witchof0x20/sonicks 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded want v0.0.5 [INFO] [stderr] Downloaded httparse v1.3.1 [INFO] [stderr] Downloaded hyper v0.12.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c78d1ccaa488ea5941e8d28b0655cbf34c1135df8d0d1fad7e72ab26fee1991 [INFO] running `Command { std: "docker" "start" "-a" "1c78d1ccaa488ea5941e8d28b0655cbf34c1135df8d0d1fad7e72ab26fee1991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c78d1ccaa488ea5941e8d28b0655cbf34c1135df8d0d1fad7e72ab26fee1991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c78d1ccaa488ea5941e8d28b0655cbf34c1135df8d0d1fad7e72ab26fee1991", kill_on_drop: false }` [INFO] [stdout] 1c78d1ccaa488ea5941e8d28b0655cbf34c1135df8d0d1fad7e72ab26fee1991 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6345e97a5d3acef495b2c228085e539bdd3fa787b47b26c4da4c04c965d0125b [INFO] running `Command { std: "docker" "start" "-a" "6345e97a5d3acef495b2c228085e539bdd3fa787b47b26c4da4c04c965d0125b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking log v0.4.2 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling httparse v1.3.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking string v0.1.0 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking bytes v0.4.8 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking http v0.1.7 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Checking want v0.0.5 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.4 [INFO] [stderr] Checking tokio-timer v0.2.4 [INFO] [stderr] Checking tokio-reactor v0.1.2 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.1 [INFO] [stderr] Checking h2 v0.1.10 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking hyper v0.12.3 [INFO] [stderr] Checking sonicks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/method.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | code @ 0x03...0x7F => Socks5Method::IanaAssigned(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/method.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | code @ 0x80...0xFE => Socks5Method::Private(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_to_from_bytes` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(int_to_from_bytes, try_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(int_to_from_bytes, try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/socks.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/method.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | code @ 0x03...0x7F => Socks5Method::IanaAssigned(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/method.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | code @ 0x80...0xFE => Socks5Method::Private(code), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/socks.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 142 | &port [INFO] [stdout] | ______________________- [INFO] [stdout] 143 | | .to_be() [INFO] [stdout] 144 | | .to_bytes() [INFO] [stdout] | |_________________________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 - .to_bytes() [INFO] [stdout] 144 + .to_be() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/socks.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_to_from_bytes` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(int_to_from_bytes, try_from)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | #![feature(int_to_from_bytes, try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/socks.rs:177:41 [INFO] [stdout] | [INFO] [stdout] 177 | let address_future: Box + Send> = match atyp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | let address_future: Box + Send> = match atyp { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/method.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/method.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 38 | 0x00 => Socks5Method::NoAuthRequired, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 39 | 0x01 => Socks5Method::Gssapi, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 40 | 0x02 => Socks5Method::UsernamePassword, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 41 | code @ 0x03...0x7F => Socks5Method::IanaAssigned(code), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 44 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/socks.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 71 | type Future = Box + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sonicks` (lib) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u16` in the current scope [INFO] [stdout] --> src/socks.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 142 | &port [INFO] [stdout] | ______________________- [INFO] [stdout] 143 | | .to_be() [INFO] [stdout] 144 | | .to_bytes() [INFO] [stdout] | |_________________________-^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_be` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 - .to_bytes() [INFO] [stdout] 144 + .to_be() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/socks.rs:177:41 [INFO] [stdout] | [INFO] [stdout] 177 | let address_future: Box + Send> = match atyp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 177 | let address_future: Box + Send> = match atyp { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/method.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/method.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 38 | 0x00 => Socks5Method::NoAuthRequired, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 39 | 0x01 => Socks5Method::Gssapi, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 40 | 0x02 => Socks5Method::UsernamePassword, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 41 | code @ 0x03...0x7F => Socks5Method::IanaAssigned(code), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 44 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sonicks` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6345e97a5d3acef495b2c228085e539bdd3fa787b47b26c4da4c04c965d0125b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6345e97a5d3acef495b2c228085e539bdd3fa787b47b26c4da4c04c965d0125b", kill_on_drop: false }` [INFO] [stdout] 6345e97a5d3acef495b2c228085e539bdd3fa787b47b26c4da4c04c965d0125b