[INFO] cloning repository https://github.com/k0nserv/apex-stats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k0nserv/apex-stats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Fapex-stats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Fapex-stats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04e90e0099811011230a400f25fb46b9682c1788 [INFO] testing k0nserv/apex-stats against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk0nserv%2Fapex-stats" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/k0nserv/apex-stats 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] removed /workspace/builds/worker-4/source/rust-toolchain [INFO] started tweaking git repo https://github.com/k0nserv/apex-stats [INFO] finished tweaking git repo https://github.com/k0nserv/apex-stats [INFO] tweaked toml for git repo https://github.com/k0nserv/apex-stats written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/k0nserv/apex-stats 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d486d1305aa0550c1f6dbf24a4db652b2e2c4cdfc6b03062fb33ea0e3183c96e [INFO] running `Command { std: "docker" "start" "-a" "d486d1305aa0550c1f6dbf24a4db652b2e2c4cdfc6b03062fb33ea0e3183c96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d486d1305aa0550c1f6dbf24a4db652b2e2c4cdfc6b03062fb33ea0e3183c96e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d486d1305aa0550c1f6dbf24a4db652b2e2c4cdfc6b03062fb33ea0e3183c96e", kill_on_drop: false }` [INFO] [stdout] d486d1305aa0550c1f6dbf24a4db652b2e2c4cdfc6b03062fb33ea0e3183c96e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0a6804e41f02b40dc6d31b3d49ac5f619c1f9fb1125771f81a8067cbec2faaf [INFO] running `Command { std: "docker" "start" "-a" "e0a6804e41f02b40dc6d31b3d49ac5f619c1f9fb1125771f81a8067cbec2faaf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling csv v1.0.5 [INFO] [stderr] Compiling apex-stats v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface/console.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | now: &'a Fn() -> DateTime, [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] 16 - now: &'a Fn() -> DateTime, [INFO] [stdout] 16 + now: &'a dyn Fn() -> DateTime, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(directories: Box) -> Self { [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] 22 - fn new(directories: Box) -> Self { [INFO] [stdout] 22 + fn new(directories: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Result = result::Result>; [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] 14 - pub type Result = result::Result>; [INFO] [stdout] 14 + pub type Result = result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn make_backend(kind: Type, config: &Config) -> Result> { [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] 20 - pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] 20 + pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.81s [INFO] running `Command { std: "docker" "inspect" "e0a6804e41f02b40dc6d31b3d49ac5f619c1f9fb1125771f81a8067cbec2faaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a6804e41f02b40dc6d31b3d49ac5f619c1f9fb1125771f81a8067cbec2faaf", kill_on_drop: false }` [INFO] [stdout] e0a6804e41f02b40dc6d31b3d49ac5f619c1f9fb1125771f81a8067cbec2faaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfd34485594cbb2b6a634b20e3b933a9eb1fe298f6878c435d483f68e3e41768 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dfd34485594cbb2b6a634b20e3b933a9eb1fe298f6878c435d483f68e3e41768", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface/console.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | now: &'a Fn() -> DateTime, [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] 16 - now: &'a Fn() -> DateTime, [INFO] [stdout] 16 + now: &'a dyn Fn() -> DateTime, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(directories: Box) -> Self { [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] 22 - fn new(directories: Box) -> Self { [INFO] [stdout] 22 + fn new(directories: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Result = result::Result>; [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] 14 - pub type Result = result::Result>; [INFO] [stdout] 14 + pub type Result = result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling apex-stats v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn make_backend(kind: Type, config: &Config) -> Result> { [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] 20 - pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] 20 + pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/interface/console.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/interface/console.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/interface/console.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteStorage` [INFO] [stdout] --> src/interface/console.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | use super::test_support::{make_test_console, WriteStorage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Console` [INFO] [stdout] --> src/interface/console.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | use super::{Console, Interface, Legend, Observation, SquadType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface/console.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | now: &'a Fn() -> DateTime, [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] 16 - now: &'a Fn() -> DateTime, [INFO] [stdout] 16 + now: &'a dyn Fn() -> DateTime, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(directories: Box) -> Self { [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] 22 - fn new(directories: Box) -> Self { [INFO] [stdout] 22 + fn new(directories: Box) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | pub type Result = result::Result>; [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] 14 - pub type Result = result::Result>; [INFO] [stdout] 14 + pub type Result = result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/backend/mod.rs:20:64 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn make_backend(kind: Type, config: &Config) -> Result> { [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] 20 - pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] 20 + pub fn make_backend(kind: Type, config: &Config) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `>::Output == DateTime` [INFO] [stdout] --> src/interface/console.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | Console::new(Box::new(mock_reader), Box::new(mock_writer), now), [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `DateTime`, found struct `SystemTime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DateTime` [INFO] [stdout] found struct `SystemTime` [INFO] [stdout] note: required by a bound in `Console::<'a>::new` [INFO] [stdout] --> src/interface/console.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(reader: Box, write: Box, now: &'a F) -> Self [INFO] [stdout] | --- required by a bound in this [INFO] [stdout] 21 | where [INFO] [stdout] 22 | F: Fn() -> DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Console::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interface/console.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | at: SystemTime::UNIX_EPOCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `DateTime`, found struct `SystemTime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DateTime` [INFO] [stdout] found struct `SystemTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/interface/console.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | at: SystemTime::UNIX_EPOCH, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `DateTime`, found struct `SystemTime` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DateTime` [INFO] [stdout] found struct `SystemTime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apex-stats` due to 4 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dfd34485594cbb2b6a634b20e3b933a9eb1fe298f6878c435d483f68e3e41768", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd34485594cbb2b6a634b20e3b933a9eb1fe298f6878c435d483f68e3e41768", kill_on_drop: false }` [INFO] [stdout] dfd34485594cbb2b6a634b20e3b933a9eb1fe298f6878c435d483f68e3e41768