[INFO] cloning repository https://github.com/segfo/yarust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfo/yarust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fyarust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fyarust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 106f62a7465c0715c5fd7bd593196d15d43201cd [INFO] testing segfo/yarust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Fyarust" "/workspace/builds/worker-104/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-104/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segfo/yarust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/segfo/yarust [INFO] finished tweaking git repo https://github.com/segfo/yarust [INFO] tweaked toml for git repo https://github.com/segfo/yarust written to /workspace/builds/worker-104/source/Cargo.toml [INFO] crate git repo https://github.com/segfo/yarust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42e989a908c5cb86f8863730f61b5beaa6bc0a8d7613d358da4527be751e048e [INFO] running `Command { std: "docker" "start" "-a" "42e989a908c5cb86f8863730f61b5beaa6bc0a8d7613d358da4527be751e048e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42e989a908c5cb86f8863730f61b5beaa6bc0a8d7613d358da4527be751e048e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e989a908c5cb86f8863730f61b5beaa6bc0a8d7613d358da4527be751e048e", kill_on_drop: false }` [INFO] [stdout] 42e989a908c5cb86f8863730f61b5beaa6bc0a8d7613d358da4527be751e048e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a256ac685cbeefaa491ef26c0d6b2167b1907a50dce27ad1dbf9ad1e5c60f085 [INFO] running `Command { std: "docker" "start" "-a" "a256ac685cbeefaa491ef26c0d6b2167b1907a50dce27ad1dbf9ad1e5c60f085", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi v0.3.4 [INFO] [stderr] Compiling libc v0.2.37 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling yarust v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling wincolor v0.1.6 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stdout] error[E0432]: unresolved imports `self::wincolor::Console`, `self::wincolor::Color`, `self::wincolor::Intense` [INFO] [stdout] --> src/console.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use self::wincolor::{Console, Color, Intense}; [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^^^ no `Intense` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Color` in the root [INFO] [stdout] | no `Console` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/console.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::MutexGuard` [INFO] [stdout] --> src/console.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::MutexGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | fn print_buffer(buf:&[u8],out:&mut (std::sync::MutexGuard>)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - fn print_buffer(buf:&[u8],out:&mut (std::sync::MutexGuard>)){ [INFO] [stdout] 210 + fn print_buffer(buf:&[u8],out:&mut std::sync::MutexGuard>){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | fn print_buffer(buf:&[u8],out:&mut (std::sync::MutexGuard>)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 210 - fn print_buffer(buf:&[u8],out:&mut (std::sync::MutexGuard>)){ [INFO] [stdout] 210 + fn print_buffer(buf:&[u8],out:&mut (std::sync::MutexGuard>)){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yara.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub out:Arc>> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub out:Arc>> [INFO] [stdout] 42 + pub out:Arc>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yara.rs:76:60 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_scanner_instance(&self,writer:Arc>>)->Box{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - pub fn get_scanner_instance(&self,writer:Arc>>)->Box{ [INFO] [stdout] 76 + pub fn get_scanner_instance(&self,writer:Arc>>)->Box{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yara.rs:85:33 [INFO] [stdout] | [INFO] [stdout] 85 | fn new(writer:Arc>>)->Box{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - fn new(writer:Arc>>)->Box{ [INFO] [stdout] 85 + fn new(writer:Arc>>)->Box{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/yara.rs:123:58 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn load_rule(&mut self,path:&str)->Result<(),Box>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - pub fn load_rule(&mut self,path:&str)->Result<(),Box>{ [INFO] [stdout] 123 + pub fn load_rule(&mut self,path:&str)->Result<(),Box>{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | let scan_result_file:Arc>>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let scan_result_file:Arc>>; [INFO] [stdout] 26 + let scan_result_file:Arc>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_ok` found for struct `console::ConsoleColor` in the current scope [INFO] [stdout] --> src/main.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if con.is_ok()&&user_data.coloring{ [INFO] [stdout] | ^^^^^ method not found in `console::ConsoleColor` [INFO] [stdout] | [INFO] [stdout] ::: src/console.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ConsoleColor{ [INFO] [stdout] | ----------------------- method `is_ok` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `console::ConsoleColor` in the current scope [INFO] [stdout] --> src/main.rs:197:27 [INFO] [stdout] | [INFO] [stdout] 197 | let mut con = con.unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `console::ConsoleColor` [INFO] [stdout] | [INFO] [stdout] ::: src/console.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ConsoleColor{ [INFO] [stdout] | ----------------------- method `unwrap` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yarust` due to 4 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a256ac685cbeefaa491ef26c0d6b2167b1907a50dce27ad1dbf9ad1e5c60f085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a256ac685cbeefaa491ef26c0d6b2167b1907a50dce27ad1dbf9ad1e5c60f085", kill_on_drop: false }` [INFO] [stdout] a256ac685cbeefaa491ef26c0d6b2167b1907a50dce27ad1dbf9ad1e5c60f085