[INFO] cloning repository https://github.com/RaineForest/FateExtraSolver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RaineForest/FateExtraSolver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaineForest%2FFateExtraSolver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaineForest%2FFateExtraSolver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e117b3ce106f17fb2a59d453ad1f590b4e38c75 [INFO] checking RaineForest/FateExtraSolver against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRaineForest%2FFateExtraSolver" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RaineForest/FateExtraSolver on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RaineForest/FateExtraSolver [INFO] finished tweaking git repo https://github.com/RaineForest/FateExtraSolver [INFO] tweaked toml for git repo https://github.com/RaineForest/FateExtraSolver written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RaineForest/FateExtraSolver already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 732ebab4334ba83a0bebf6958c72aaa64302f3e874f0721db77e61f3178fe229 [INFO] running `Command { std: "docker" "start" "-a" "732ebab4334ba83a0bebf6958c72aaa64302f3e874f0721db77e61f3178fe229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "732ebab4334ba83a0bebf6958c72aaa64302f3e874f0721db77e61f3178fe229", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732ebab4334ba83a0bebf6958c72aaa64302f3e874f0721db77e61f3178fe229", kill_on_drop: false }` [INFO] [stdout] 732ebab4334ba83a0bebf6958c72aaa64302f3e874f0721db77e61f3178fe229 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afc0e13f599602c88fc91d93734964fc1b33a6aae745f1f3e90a0d02a74ab8f1 [INFO] running `Command { std: "docker" "start" "-a" "afc0e13f599602c88fc91d93734964fc1b33a6aae745f1f3e90a0d02a74ab8f1", kill_on_drop: false }` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking fate_extra_solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/enemy_builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static!{ [INFO] [stdout] 26 | | static ref RE_NAME: Regex = Regex::new(r"^(.+):$").unwrap(); [INFO] [stdout] 27 | | static ref RE_ACTIONS: Regex = Regex::new(r"^([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])$").unwrap(); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/enemy_builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static!{ [INFO] [stdout] 26 | | static ref RE_NAME: Regex = Regex::new(r"^(.+):$").unwrap(); [INFO] [stdout] 27 | | static ref RE_ACTIONS: Regex = Regex::new(r"^([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])$").unwrap(); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action_count.rs:159:50 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_safe_strat(threshold: f32) -> Box Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_safe_strat(threshold: f32) -> Box Action> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:70:60 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn trump_string(counts: &Vec, strat: &Fn(&ActionCount) -> Action) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | pub fn trump_string(counts: &Vec, strat: &dyn Fn(&ActionCount) -> Action) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/enemy_builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static!{ [INFO] [stdout] 26 | | static ref RE_NAME: Regex = Regex::new(r"^(.+):$").unwrap(); [INFO] [stdout] 27 | | static ref RE_ACTIONS: Regex = Regex::new(r"^([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])$").unwrap(); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/enemy_builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / lazy_static!{ [INFO] [stdout] 26 | | static ref RE_NAME: Regex = Regex::new(r"^(.+):$").unwrap(); [INFO] [stdout] 27 | | static ref RE_ACTIONS: Regex = Regex::new(r"^([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])\s+([AGBS_])$").unwrap(); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action_count.rs:159:50 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_safe_strat(threshold: f32) -> Box Action> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_safe_strat(threshold: f32) -> Box Action> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/enemy.rs:70:60 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn trump_string(counts: &Vec, strat: &Fn(&ActionCount) -> Action) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | pub fn trump_string(counts: &Vec, strat: &dyn Fn(&ActionCount) -> Action) -> Vec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | patterns.iter().map(|x| print_pattern(&x)).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = patterns.iter().map(|x| print_pattern(&x)).collect::>(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | / enemies.iter().map(|(k,_)| { [INFO] [stdout] 84 | | println!("{}", k); [INFO] [stdout] 85 | | }).collect::>(); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = enemies.iter().map(|(k,_)| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/enemy.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / self.action_strings.iter().map(|x| { [INFO] [stdout] 50 | | x.iter().map(|y| { [INFO] [stdout] 51 | | print!("{}\t", y); [INFO] [stdout] 52 | | }).collect::>(); [INFO] [stdout] 53 | | println!(); [INFO] [stdout] 54 | | }).collect::>(); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = self.action_strings.iter().map(|x| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/enemy.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / x.iter().map(|y| { [INFO] [stdout] 51 | | print!("{}\t", y); [INFO] [stdout] 52 | | }).collect::>(); [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = x.iter().map(|y| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | patterns.iter().map(|x| print_pattern(&x)).collect::>(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = patterns.iter().map(|x| print_pattern(&x)).collect::>(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/main.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | / enemies.iter().map(|(k,_)| { [INFO] [stdout] 84 | | println!("{}", k); [INFO] [stdout] 85 | | }).collect::>(); [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = enemies.iter().map(|(k,_)| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/enemy.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | / self.action_strings.iter().map(|x| { [INFO] [stdout] 50 | | x.iter().map(|y| { [INFO] [stdout] 51 | | print!("{}\t", y); [INFO] [stdout] 52 | | }).collect::>(); [INFO] [stdout] 53 | | println!(); [INFO] [stdout] 54 | | }).collect::>(); [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = self.action_strings.iter().map(|x| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `collect` that must be used [INFO] [stdout] --> src/enemy.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / x.iter().map(|y| { [INFO] [stdout] 51 | | print!("{}\t", y); [INFO] [stdout] 52 | | }).collect::>(); [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you really need to exhaust the iterator, consider `.for_each(drop)` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = x.iter().map(|y| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "afc0e13f599602c88fc91d93734964fc1b33a6aae745f1f3e90a0d02a74ab8f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afc0e13f599602c88fc91d93734964fc1b33a6aae745f1f3e90a0d02a74ab8f1", kill_on_drop: false }` [INFO] [stdout] afc0e13f599602c88fc91d93734964fc1b33a6aae745f1f3e90a0d02a74ab8f1