[INFO] cloning repository https://github.com/Agares/stsbr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Agares/stsbr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgares%2Fstsbr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgares%2Fstsbr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5124e5873d471b7eb5e5f8e5652381dec6b290bd [INFO] testing Agares/stsbr against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAgares%2Fstsbr" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Agares/stsbr on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Agares/stsbr [INFO] finished tweaking git repo https://github.com/Agares/stsbr [INFO] tweaked toml for git repo https://github.com/Agares/stsbr written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/Agares/stsbr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30925b4220a826edcfe9dd90c023579794f1d50175c28d1027e63cf5c8491624 [INFO] running `Command { std: "docker" "start" "-a" "30925b4220a826edcfe9dd90c023579794f1d50175c28d1027e63cf5c8491624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30925b4220a826edcfe9dd90c023579794f1d50175c28d1027e63cf5c8491624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30925b4220a826edcfe9dd90c023579794f1d50175c28d1027e63cf5c8491624", kill_on_drop: false }` [INFO] [stdout] 30925b4220a826edcfe9dd90c023579794f1d50175c28d1027e63cf5c8491624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9eca6470f3be2e5059eab0d2b6ab2021af7341d448a73891fb83564baaff0e3 [INFO] running `Command { std: "docker" "start" "-a" "c9eca6470f3be2e5059eab0d2b6ab2021af7341d448a73891fb83564baaff0e3", kill_on_drop: false }` [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling libpulse-sys v1.5.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling dbus v0.6.4 [INFO] [stderr] Compiling libpulse-binding v2.6.0 [INFO] [stderr] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling derive_is_enum_variant v0.1.1 [INFO] [stderr] Compiling enum-kinds v0.4.1 [INFO] [stderr] Compiling darling_core v0.4.0 [INFO] [stderr] Compiling darling_macro v0.4.0 [INFO] [stderr] Compiling darling v0.4.0 [INFO] [stderr] Compiling from_variants_impl v0.3.0 [INFO] [stderr] Compiling from_variants v0.3.0 [INFO] [stderr] Compiling mpris v1.1.2 [INFO] [stderr] Compiling stsbr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn load_blocks() -> Vec> { [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] 58 - fn load_blocks() -> Vec> { [INFO] [stdout] 58 + fn load_blocks() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [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] 80 - fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [INFO] [stdout] 80 + fn parse_config<'a>(config: &str, mut on_section: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | type BlockFactory = Fn(&Value) -> 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] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] 92 + type BlockFactory = dyn Fn(&Value) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | type BlockFactory = Fn(&Value) -> 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] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] 92 + type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/i3bar.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [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] 48 - fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stdout] 48 + fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/i3bar.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn sources_to_json(sources: &mut Vec>) -> String { [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] 70 - pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stdout] 70 + pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/block.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_dimensions` [INFO] [stdout] --> src/block.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | block_dimensions: Dimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.08s [INFO] running `Command { std: "docker" "inspect" "c9eca6470f3be2e5059eab0d2b6ab2021af7341d448a73891fb83564baaff0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9eca6470f3be2e5059eab0d2b6ab2021af7341d448a73891fb83564baaff0e3", kill_on_drop: false }` [INFO] [stdout] c9eca6470f3be2e5059eab0d2b6ab2021af7341d448a73891fb83564baaff0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf353234a99defdb874b17feacdc145fa9e95fe0705c924e766510d726e1d330 [INFO] running `Command { std: "docker" "start" "-a" "cf353234a99defdb874b17feacdc145fa9e95fe0705c924e766510d726e1d330", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling stsbr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | fn load_blocks() -> Vec> { [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] 58 - fn load_blocks() -> Vec> { [INFO] [stdout] 58 + fn load_blocks() -> Vec> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [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] 80 - fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [INFO] [stdout] 80 + fn parse_config<'a>(config: &str, mut on_section: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | type BlockFactory = Fn(&Value) -> 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] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] 92 + type BlockFactory = dyn Fn(&Value) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:39 [INFO] [stdout] | [INFO] [stdout] 92 | type BlockFactory = Fn(&Value) -> 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] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] 92 + type BlockFactory = Fn(&Value) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/i3bar.rs:48:55 [INFO] [stdout] | [INFO] [stdout] 48 | fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [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] 48 - fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stdout] 48 + fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/i3bar.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn sources_to_json(sources: &mut Vec>) -> String { [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] 70 - pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stdout] 70 + pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/block.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `block_dimensions` [INFO] [stdout] --> src/block.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | block_dimensions: Dimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/block.rs:78:10 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.15s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/stsbr-48f31c378cc046bf) [INFO] running `Command { std: "docker" "inspect" "cf353234a99defdb874b17feacdc145fa9e95fe0705c924e766510d726e1d330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf353234a99defdb874b17feacdc145fa9e95fe0705c924e766510d726e1d330", kill_on_drop: false }` [INFO] [stdout] cf353234a99defdb874b17feacdc145fa9e95fe0705c924e766510d726e1d330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be8583afbea43df12f93c02d6104d72028ebb1b64b9d59258bc77001ddf78006 [INFO] running `Command { std: "docker" "start" "-a" "be8583afbea43df12f93c02d6104d72028ebb1b64b9d59258bc77001ddf78006", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:58:29 [INFO] [stderr] | [INFO] [stderr] 58 | fn load_blocks() -> Vec> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 58 - fn load_blocks() -> Vec> { [INFO] [stderr] 58 + fn load_blocks() -> Vec> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:80:55 [INFO] [stderr] | [INFO] [stderr] 80 | fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 80 - fn parse_config<'a>(config: &str, mut on_section: Box<'a + FnMut(&Value)>) { [INFO] [stderr] 80 + fn parse_config<'a>(config: &str, mut on_section: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | type BlockFactory = Fn(&Value) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stderr] 92 + type BlockFactory = dyn Fn(&Value) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:92:39 [INFO] [stderr] | [INFO] [stderr] 92 | type BlockFactory = Fn(&Value) -> Box; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - type BlockFactory = Fn(&Value) -> Box; [INFO] [stderr] 92 + type BlockFactory = Fn(&Value) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/i3bar.rs:48:55 [INFO] [stderr] | [INFO] [stderr] 48 | fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stderr] 48 + fn convert_blocks_to_bar_blocks(sources: &mut Vec>) -> Vec { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/i3bar.rs:70:46 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 70 - pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stderr] 70 + pub fn sources_to_json(sources: &mut Vec>) -> String { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `position` [INFO] [stderr] --> src/block.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | position: Position, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/block.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `block_dimensions` [INFO] [stderr] --> src/block.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | block_dimensions: Dimensions, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ClickEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/block.rs:78:10 [INFO] [stderr] | [INFO] [stderr] 78 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stsbr` (bin "stsbr" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stsbr-48f31c378cc046bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "be8583afbea43df12f93c02d6104d72028ebb1b64b9d59258bc77001ddf78006", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8583afbea43df12f93c02d6104d72028ebb1b64b9d59258bc77001ddf78006", kill_on_drop: false }` [INFO] [stdout] be8583afbea43df12f93c02d6104d72028ebb1b64b9d59258bc77001ddf78006