[INFO] cloning repository https://github.com/Twisol/rust-telnet-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Twisol/rust-telnet-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwisol%2Frust-telnet-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwisol%2Frust-telnet-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dfcab8a31ff8f489aa5ab6cd33e4affef97d36f [INFO] checking Twisol/rust-telnet-client/3dfcab8a31ff8f489aa5ab6cd33e4affef97d36f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTwisol%2Frust-telnet-client" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Twisol/rust-telnet-client on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Twisol/rust-telnet-client [INFO] finished tweaking git repo https://github.com/Twisol/rust-telnet-client [INFO] tweaked toml for git repo https://github.com/Twisol/rust-telnet-client written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Twisol/rust-telnet-client 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/Twisol/rust-telnet.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a3e84ab22abd2c47d6289c1f92b1b9f362fe23beffd7dda4447f6cc9031400c [INFO] running `Command { std: "docker" "start" "-a" "2a3e84ab22abd2c47d6289c1f92b1b9f362fe23beffd7dda4447f6cc9031400c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a3e84ab22abd2c47d6289c1f92b1b9f362fe23beffd7dda4447f6cc9031400c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a3e84ab22abd2c47d6289c1f92b1b9f362fe23beffd7dda4447f6cc9031400c", kill_on_drop: false }` [INFO] [stdout] 2a3e84ab22abd2c47d6289c1f92b1b9f362fe23beffd7dda4447f6cc9031400c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8af8d1b6693d9596d4445dd2345a29d775b1d18d5ba4f027bbeedcf1ecdcc0d [INFO] running `Command { std: "docker" "start" "-a" "e8af8d1b6693d9596d4445dd2345a29d775b1d18d5ba4f027bbeedcf1ecdcc0d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rust-telnet v0.0.1 (https://github.com/Twisol/rust-telnet.git?rev=b1387c8cb4fff730f307727975c03cd933f8c3d3#b1387c8c) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | is_long_command: box |cmd| 250 <= cmd && cmd <= 254, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 32 | is_long_command: Box::new(|cmd| 250 <= cmd && cmd <= 254), [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Show, Copy, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Show, Copy)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Show, Copy)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/registry.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | pub command_map: HashMap, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub struct EndpointRegistry<'parent, Parent: 'parent, uint> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/registry.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | pub channel_map: HashMap, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 72 | pub struct EndpointRegistry<'parent, Parent: 'parent, uint> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ParseState: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Show)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `ParseState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `ParseState` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub enum ParseState { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TelnetDemuxState: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/demux.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `TelnetDemuxState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QStateUni: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Show, Copy, PartialEq)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QStateUni` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `QStateUni` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Clone)] [INFO] [stdout] 5 | pub enum QStateUni { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QAttitude: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Show, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QAttitude` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `QAttitude` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Clone)] [INFO] [stdout] 23 | pub enum QAttitude { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `QState: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/qstate.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Show, Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `QState` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | (Some(TelnetToken::Text(b"\r\n")), Neutral, self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 55 | (Some(TelnetToken::Text(b"\r\n")), Neutral, &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:57:49 [INFO] [stdout] | [INFO] [stdout] 57 | (Some(TelnetToken::Text(b"\r")), Neutral, self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 57 | (Some(TelnetToken::Text(b"\r")), Neutral, &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | if (*self.context.is_long_command).call((self.data[0],)) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | (None, Subchannel(self.data[0]), self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 66 | (None, Subchannel(self.data[0]), &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:68:51 [INFO] [stdout] | [INFO] [stdout] 68 | (Some(TelnetToken::Text(b"\xFF")), Neutral, self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 68 | (Some(TelnetToken::Text(b"\xFF")), Neutral, &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:70:59 [INFO] [stdout] | [INFO] [stdout] 70 | (Some(TelnetToken::Command(self.data[0])), Neutral, self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 70 | (Some(TelnetToken::Command(self.data[0])), Neutral, &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:75:88 [INFO] [stdout] | [INFO] [stdout] 75 | (Some(TelnetToken::Negotiation{command: command, channel: self.data[0]}), Neutral, self.data[1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 75 | (Some(TelnetToken::Negotiation{command: command, channel: self.data[0]}), Neutral, &self.data[1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | Some(TelnetToken::Text(self.data[0..idx])) [INFO] [stdout] | ----------------- ^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | Text(&'a [u8]), [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 88 | Some(TelnetToken::Text(&self.data[0..idx])) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/rust-telnet-1c15d5c05d797ba6/b1387c8/src/parser.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | (token, state, self.data[idx+1..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `[u8]` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 97 | (token, state, &self.data[idx+1..]) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-telnet` (lib) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "e8af8d1b6693d9596d4445dd2345a29d775b1d18d5ba4f027bbeedcf1ecdcc0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8af8d1b6693d9596d4445dd2345a29d775b1d18d5ba4f027bbeedcf1ecdcc0d", kill_on_drop: false }` [INFO] [stdout] e8af8d1b6693d9596d4445dd2345a29d775b1d18d5ba4f027bbeedcf1ecdcc0d