[INFO] cloning repository https://github.com/Luke-Draper/MSTS-RS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luke-Draper/MSTS-RS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Draper%2FMSTS-RS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuke-Draper%2FMSTS-RS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9d72b9b988a0718fc951715a684dd8595809648 [INFO] testing Luke-Draper/MSTS-RS 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%2FLuke-Draper%2FMSTS-RS" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luke-Draper/MSTS-RS 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/Luke-Draper/MSTS-RS [INFO] finished tweaking git repo https://github.com/Luke-Draper/MSTS-RS [INFO] tweaked toml for git repo https://github.com/Luke-Draper/MSTS-RS written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Luke-Draper/MSTS-RS 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 1a45f493563f8366af102f5e054570bb1fea052a56747ff2b532b7355d488203 [INFO] running `Command { std: "docker" "start" "-a" "1a45f493563f8366af102f5e054570bb1fea052a56747ff2b532b7355d488203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a45f493563f8366af102f5e054570bb1fea052a56747ff2b532b7355d488203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a45f493563f8366af102f5e054570bb1fea052a56747ff2b532b7355d488203", kill_on_drop: false }` [INFO] [stdout] 1a45f493563f8366af102f5e054570bb1fea052a56747ff2b532b7355d488203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] cf246fa5c0c29bbdbebfbb6c2bb547b09fbccc26e27c583a002eb40cf410ca1f [INFO] running `Command { std: "docker" "start" "-a" "cf246fa5c0c29bbdbebfbb6c2bb547b09fbccc26e27c583a002eb40cf410ca1f", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.23 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling derive_builder v0.7.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.20 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling darling_core v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling darling_macro v0.8.0 [INFO] [stderr] Compiling darling v0.8.0 [INFO] [stderr] Compiling derive_builder_core v0.4.0 [INFO] [stderr] Compiling msts_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::file_io` [INFO] [stdout] --> src/template_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::file_io; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tasks` [INFO] [stdout] --> src/template_parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tasks; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/template_parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | sub_tasks: Vec<&'a Task<'a>>, [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] 40 - sub_tasks: Vec<&'a Task<'a>>, [INFO] [stdout] 40 + sub_tasks: Vec<&'a dyn Task<'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | sub_tasks: Vec<&'a Task<'a>>, [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] 88 - sub_tasks: Vec<&'a Task<'a>>, [INFO] [stdout] 88 + sub_tasks: Vec<&'a dyn Task<'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:110:44 [INFO] [stdout] | [INFO] [stdout] 110 | fn task_factory(input_string: &String) -> &Task { [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] 110 - fn task_factory(input_string: &String) -> &Task { [INFO] [stdout] 110 + fn task_factory(input_string: &String) -> &dyn Task { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [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] 30 - fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [INFO] [stdout] 30 + fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a Task<'a>>) {} [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] 34 - fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a Task<'a>>) {} [INFO] [stdout] 34 + fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a dyn Task<'a>>) {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a Task<'a>>) { [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] 91 - fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a Task<'a>>) { [INFO] [stdout] 91 + fn set_sub_tasks(&self, in_sub_tasks: Vec<&'a dyn Task<'a>>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:105:68 [INFO] [stdout] | [INFO] [stdout] 105 | fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [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] 105 - fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [INFO] [stdout] 105 + fn expand_task(&self, run_vars: serde_json::Value) -> Option> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/tasks.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | return Some(); [INFO] [stdout] | ^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } as &Task; [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] 116 - } as &Task; [INFO] [stdout] 116 + } as &dyn Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } as &Task; [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] 120 - } as &Task; [INFO] [stdout] 120 + } as &dyn Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | return &EndTask {} as &Task; [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] 122 - return &EndTask {} as &Task; [INFO] [stdout] 122 + return &EndTask {} as &dyn Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:123:34 [INFO] [stdout] | [INFO] [stdout] 123 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 124 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 125 | | } else if task_type == TASK_VAR { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tasks.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | } else if task_type == TASK_VAR { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 126 | | } else { [INFO] [stdout] | |_____^ expected `&dyn Task<'_>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&dyn Task<'_>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tasks.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | } as &Task; [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] 129 - } as &Task; [INFO] [stdout] 129 + } as &dyn Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `msts_rs` due to 5 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cf246fa5c0c29bbdbebfbb6c2bb547b09fbccc26e27c583a002eb40cf410ca1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf246fa5c0c29bbdbebfbb6c2bb547b09fbccc26e27c583a002eb40cf410ca1f", kill_on_drop: false }` [INFO] [stdout] cf246fa5c0c29bbdbebfbb6c2bb547b09fbccc26e27c583a002eb40cf410ca1f