[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] 64a7c84cdc2a4b9fa0d6c6a5f6d1ed2fd0b21c5e [INFO] checking bradacina/rust-irc-raw against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradacina%2Frust-irc-raw" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bradacina/rust-irc-raw on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-12/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: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3366bb97b34a34fa4020dda19aed9225a176e7f34dd040d65ab12a435e390698 [INFO] running `Command { std: "docker" "start" "-a" "3366bb97b34a34fa4020dda19aed9225a176e7f34dd040d65ab12a435e390698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3366bb97b34a34fa4020dda19aed9225a176e7f34dd040d65ab12a435e390698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3366bb97b34a34fa4020dda19aed9225a176e7f34dd040d65ab12a435e390698", kill_on_drop: false }` [INFO] [stdout] 3366bb97b34a34fa4020dda19aed9225a176e7f34dd040d65ab12a435e390698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 741bb911ab7f0b738933c929b7a90be3e6241b7a0a7d1a24bd8347035e968e6b [INFO] running `Command { std: "docker" "start" "-a" "741bb911ab7f0b738933c929b7a90be3e6241b7a0a7d1a24bd8347035e968e6b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Checking backtrace-sys v0.1.24 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking irc-raw v0.1.0 (/opt/rustwide/workdir) [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[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] 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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] 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] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [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] | ^^^^^ help: use `dyn`: `dyn Write` [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 issue #80165 [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] [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] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [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] 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "741bb911ab7f0b738933c929b7a90be3e6241b7a0a7d1a24bd8347035e968e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741bb911ab7f0b738933c929b7a90be3e6241b7a0a7d1a24bd8347035e968e6b", kill_on_drop: false }` [INFO] [stdout] 741bb911ab7f0b738933c929b7a90be3e6241b7a0a7d1a24bd8347035e968e6b