[INFO] cloning repository https://github.com/bradacina/rust-irc-raw [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bradacina/rust-irc-raw" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frust-irc-raw", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frust-irc-raw'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4863d42700419976105bc0c1640696c2df78088 [INFO] checking bradacina/rust-irc-raw/f4863d42700419976105bc0c1640696c2df78088 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frust-irc-raw" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bradacina/rust-irc-raw 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/bradacina/rust-irc-raw [INFO] finished tweaking git repo https://github.com/bradacina/rust-irc-raw [INFO] tweaked toml for git repo https://github.com/bradacina/rust-irc-raw written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bradacina/rust-irc-raw 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] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v0.4.15 [INFO] [stderr] Downloaded cc v1.0.22 [INFO] [stderr] Downloaded simplelog v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30e7c60a0d1c9f459d59647e6907e4b762a07007a5c6e9cfc8034e8a1d24520e [INFO] running `Command { std: "docker" "start" "-a" "30e7c60a0d1c9f459d59647e6907e4b762a07007a5c6e9cfc8034e8a1d24520e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30e7c60a0d1c9f459d59647e6907e4b762a07007a5c6e9cfc8034e8a1d24520e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30e7c60a0d1c9f459d59647e6907e4b762a07007a5c6e9cfc8034e8a1d24520e", kill_on_drop: false }` [INFO] [stdout] 30e7c60a0d1c9f459d59647e6907e4b762a07007a5c6e9cfc8034e8a1d24520e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec68b7b346088f89ed7949c3602fc949d0db9ff7cbd6c998d321fae160084147 [INFO] running `Command { std: "docker" "start" "-a" "ec68b7b346088f89ed7949c3602fc949d0db9ff7cbd6c998d321fae160084147", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.15 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking simplelog v0.5.2 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking irc-raw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection_reader.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_messages(&mut self, con: &mut Read) -> Option> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_messages(&mut self, con: &mut dyn Read) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection_reader.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_messages(&mut self, con: &mut Read) -> Option> { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_messages(&mut self, con: &mut dyn Read) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection_writer.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_connection(con: &mut Write, write_buf: &mut String) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_connection(con: &mut dyn Write, write_buf: &mut String) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/connection_writer.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_connection(con: &mut Write, write_buf: &mut String) { [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 | pub fn write_connection(con: &mut dyn Write, write_buf: &mut String) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `init` is private [INFO] [stdout] --> src/program_lifecycle.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | let term_init = TermInit::init(); [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/terminal/term_init.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | fn init() -> TermInit { [INFO] [stdout] | --------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/terminal/term_init.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | if SetConsoleMode(self.hOut, self.originalOutputMode) == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/terminal/term_init.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if SetConsoleMode(self.hIn, self.originalInputMode) == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `init` is private [INFO] [stdout] --> src/program_lifecycle.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | let term_init = TermInit::init(); [INFO] [stdout] | ^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: src/terminal/term_init.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | fn init() -> TermInit { [INFO] [stdout] | --------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/terminal/term_init.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | if SetConsoleMode(self.hOut, self.originalOutputMode) == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleMode` in this scope [INFO] [stdout] --> src/terminal/term_init.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if SetConsoleMode(self.hIn, self.originalInputMode) == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `irc-raw` (bin "irc-raw") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `irc-raw` (bin "irc-raw" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec68b7b346088f89ed7949c3602fc949d0db9ff7cbd6c998d321fae160084147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec68b7b346088f89ed7949c3602fc949d0db9ff7cbd6c998d321fae160084147", kill_on_drop: false }` [INFO] [stdout] ec68b7b346088f89ed7949c3602fc949d0db9ff7cbd6c998d321fae160084147