[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] testing witchof0x20/sonicks against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwitchof0x20%2Fsonicks" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/witchof0x20/sonicks 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/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.4.8 [INFO] [stderr] Downloaded tokio-io v0.1.7 [INFO] [stderr] Downloaded tokio-timer v0.2.4 [INFO] [stderr] Downloaded string v0.1.0 [INFO] [stderr] Downloaded tokio-fs v0.1.1 [INFO] [stderr] Downloaded log v0.4.2 [INFO] [stderr] Downloaded tokio-udp v0.1.1 [INFO] [stderr] Downloaded lazycell v0.6.0 [INFO] [stderr] Downloaded slab v0.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded httparse v1.3.1 [INFO] [stderr] Downloaded tokio-tcp v0.1.0 [INFO] [stderr] Downloaded crossbeam-deque v0.3.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.2 [INFO] [stderr] Downloaded tokio-executor v0.1.2 [INFO] [stderr] Downloaded net2 v0.2.32 [INFO] [stderr] Downloaded indexmap v1.0.1 [INFO] [stderr] Downloaded tokio-threadpool v0.1.4 [INFO] [stderr] Downloaded tokio v0.1.7 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded http v0.1.7 [INFO] [stderr] Downloaded tokio-codec v0.1.0 [INFO] [stderr] Downloaded futures v0.1.21 [INFO] [stderr] Downloaded mio v0.6.14 [INFO] [stderr] Downloaded want v0.0.5 [INFO] [stderr] Downloaded hyper v0.12.3 [INFO] [stderr] Downloaded h2 v0.1.10 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9adcec42c4184a20c34606dab9bf6c4514d2acaf2f186d853e4b2238a5b40695 [INFO] running `Command { std: "docker" "start" "-a" "9adcec42c4184a20c34606dab9bf6c4514d2acaf2f186d853e4b2238a5b40695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9adcec42c4184a20c34606dab9bf6c4514d2acaf2f186d853e4b2238a5b40695", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9adcec42c4184a20c34606dab9bf6c4514d2acaf2f186d853e4b2238a5b40695", kill_on_drop: false }` [INFO] [stdout] 9adcec42c4184a20c34606dab9bf6c4514d2acaf2f186d853e4b2238a5b40695 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93cdaa6798e661bd4b3f5f66c597675ef3b481ffda9840575f97a2ec6bc3d910 [INFO] running `Command { std: "docker" "start" "-a" "93cdaa6798e661bd4b3f5f66c597675ef3b481ffda9840575f97a2ec6bc3d910", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling futures v0.1.21 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling net2 v0.2.32 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling httparse v1.3.1 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling string v0.1.0 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling bytes v0.4.8 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling mio v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling http v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling tokio-executor v0.1.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.4 [INFO] [stderr] Compiling tokio-reactor v0.1.2 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.0 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio v0.1.7 [INFO] [stderr] Compiling h2 v0.1.10 [INFO] [stderr] Compiling hyper v0.12.3 [INFO] [stderr] Compiling 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] 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)]` (part of `#[warn(unused)]`) 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) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "93cdaa6798e661bd4b3f5f66c597675ef3b481ffda9840575f97a2ec6bc3d910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93cdaa6798e661bd4b3f5f66c597675ef3b481ffda9840575f97a2ec6bc3d910", kill_on_drop: false }` [INFO] [stdout] 93cdaa6798e661bd4b3f5f66c597675ef3b481ffda9840575f97a2ec6bc3d910