[INFO] cloning repository https://github.com/mulark/factorio-benchmark-helper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mulark/factorio-benchmark-helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmulark%2Ffactorio-benchmark-helper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmulark%2Ffactorio-benchmark-helper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5adc36fb82c886a353ce321380220b5b67f3a3b7 [INFO] checking mulark/factorio-benchmark-helper against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmulark%2Ffactorio-benchmark-helper" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mulark/factorio-benchmark-helper on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mulark/factorio-benchmark-helper [INFO] finished tweaking git repo https://github.com/mulark/factorio-benchmark-helper [INFO] tweaked toml for git repo https://github.com/mulark/factorio-benchmark-helper written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/technicalfactorio/technicalfactorio.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded predicates v2.0.2 [INFO] [stderr] Downloaded directories v3.0.2 [INFO] [stderr] Downloaded dlv-list v0.2.3 [INFO] [stderr] Downloaded tar v0.4.37 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded predicates-tree v1.0.3 [INFO] [stderr] Downloaded assert_cmd v2.0.0 [INFO] [stderr] Downloaded raw-cpuid v10.2.0 [INFO] [stderr] Downloaded ordered-multimap v0.3.1 [INFO] [stderr] Downloaded rusqlite v0.25.3 [INFO] [stderr] Downloaded ureq v1.5.5 [INFO] [stderr] Downloaded rust-ini v0.17.0 [INFO] [stderr] Downloaded rust-lzma v0.5.1 [INFO] [stderr] Downloaded hashlink v0.7.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c875f311c1af5b9606bd0eee3775214e882f9e909459a8160ace5787c19c582 [INFO] running `Command { std: "docker" "start" "-a" "1c875f311c1af5b9606bd0eee3775214e882f9e909459a8160ace5787c19c582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c875f311c1af5b9606bd0eee3775214e882f9e909459a8160ace5787c19c582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c875f311c1af5b9606bd0eee3775214e882f9e909459a8160ace5787c19c582", kill_on_drop: false }` [INFO] [stdout] 1c875f311c1af5b9606bd0eee3775214e882f9e909459a8160ace5787c19c582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7c7d1e3c222318bb77dac7a45ac80aae9a389c557fd57a6db56e100107e87dc [INFO] running `Command { std: "docker" "start" "-a" "a7c7d1e3c222318bb77dac7a45ac80aae9a389c557fd57a6db56e100107e87dc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] standback v0.2.17 (as host dependency): std [INFO] [stderr] syn v1.0.75 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking raw-cpuid v10.2.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Compiling rust-lzma v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking predicates v2.0.2 [INFO] [stderr] Checking dlv-list v0.2.3 [INFO] [stderr] Checking ordered-multimap v0.3.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking assert_cmd v2.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rust-ini v0.17.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking simplelog v0.10.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Checking serde v1.0.129 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking megabase_index_incrementer v0.3.1 (https://github.com/technicalfactorio/technicalfactorio.git#b05a262b) [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Checking factorio-benchmark-helper v0.1.10 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | .query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | .query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/regression_tester/regression_db.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/regression_tester/regression_db.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | let rows = stmt.query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rusqlite::Connection::execute_named`: You can use `execute` with named params now. [INFO] [stdout] --> src/performance_results/database.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | match save_point2.execute_named( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[std::option::Option; 1]: Params` is not satisfied [INFO] [stdout] --> src/regression_tester/regression_db.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | let versions_rows = stmt.query_map(&[row.db_id], |row| { [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Params` is not implemented for `&[std::option::Option; 1]` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&[&T; 10] as Params> [INFO] [stdout] <&[&T; 11] as Params> [INFO] [stdout] <&[&T; 12] as Params> [INFO] [stdout] <&[&T; 13] as Params> [INFO] [stdout] and 92 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_extended_function_info` found for struct `CpuId` in the current scope [INFO] [stdout] --> src/util.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | .get_extended_function_info() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `get_extended_feature_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/util/mod_dl.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | println!("Downloading Mod: {}", filename); [INFO] [stdout] 118 | let mod_url = format!("{}{}", MOD_PORTAL_API_URL, m.name); [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.name` [INFO] [stdout] ... [INFO] [stdout] 126 | m.version = compare_version_str(&release.version, &m.version); [INFO] [stdout] | --------- in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.version` [INFO] [stdout] ... [INFO] [stdout] 178 | m.sha1 = newly_dl_mod_sha1.clone(); [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.sha1` [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.version` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.sha1` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `m` to be fully captured [INFO] [stdout] | [INFO] [stdout] 116 ~ std::thread::spawn(move || { [INFO] [stdout] 117 + let _ = &m; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/util/map_dl.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | handles.push(std::thread::spawn(move || [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fbh_save_dl_dir().join(&save_subdirectory.as_ref().unwrap_or(&PathBuf::new())).join(&map.name), [INFO] [stdout] | -------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.name` [INFO] [stdout] ... [INFO] [stdout] 100 | download_save(&map.name, map.download_link, &filepath); [INFO] [stdout] | ----------------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.download_link` [INFO] [stdout] ... [INFO] [stdout] 104 | if sha256 == map.sha256 && map.sha256 != "" { [INFO] [stdout] | ---------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.sha256` [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.download_link` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.sha256` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `map` to be fully captured [INFO] [stdout] | [INFO] [stdout] 63 ~ { [INFO] [stdout] 64 + let _ = ↦ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `factorio-benchmark-helper` due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | .query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/performance_results/database.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | .query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/regression_tester/regression_db.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use rusqlite::NO_PARAMS; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rusqlite::NO_PARAMS`: Use an empty array instead; `stmt.execute(NO_PARAMS)` => `stmt.execute([])` [INFO] [stdout] --> src/regression_tester/regression_db.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | let rows = stmt.query_map(NO_PARAMS, |row| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `rusqlite::Connection::execute_named`: You can use `execute` with named params now. [INFO] [stdout] --> src/performance_results/database.rs:156:27 [INFO] [stdout] | [INFO] [stdout] 156 | match save_point2.execute_named( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[std::option::Option; 1]: Params` is not satisfied [INFO] [stdout] --> src/regression_tester/regression_db.rs:208:44 [INFO] [stdout] | [INFO] [stdout] 208 | let versions_rows = stmt.query_map(&[row.db_id], |row| { [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `Params` is not implemented for `&[std::option::Option; 1]` [INFO] [stdout] | help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] <&[&T; 10] as Params> [INFO] [stdout] <&[&T; 11] as Params> [INFO] [stdout] <&[&T; 12] as Params> [INFO] [stdout] <&[&T; 13] as Params> [INFO] [stdout] and 92 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_extended_function_info` found for struct `CpuId` in the current scope [INFO] [stdout] --> src/util.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | .get_extended_function_info() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `get_extended_feature_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/util/mod_dl.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 116 | std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 117 | println!("Downloading Mod: {}", filename); [INFO] [stdout] 118 | let mod_url = format!("{}{}", MOD_PORTAL_API_URL, m.name); [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.name` [INFO] [stdout] ... [INFO] [stdout] 126 | m.version = compare_version_str(&release.version, &m.version); [INFO] [stdout] | --------- in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.version` [INFO] [stdout] ... [INFO] [stdout] 178 | m.sha1 = newly_dl_mod_sha1.clone(); [INFO] [stdout] | ------ in Rust 2018, this closure captures all of `m`, but in Rust 2021, it will only capture `m.sha1` [INFO] [stdout] ... [INFO] [stdout] 193 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.version` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `m` is dropped here, but in Rust 2021, only `m.sha1` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-closure-captures` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `m` to be fully captured [INFO] [stdout] | [INFO] [stdout] 116 ~ std::thread::spawn(move || { [INFO] [stdout] 117 + let _ = &m; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: changes to closure capture in Rust 2021 will affect drop order [INFO] [stdout] --> src/util/map_dl.rs:62:41 [INFO] [stdout] | [INFO] [stdout] 62 | handles.push(std::thread::spawn(move || [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fbh_save_dl_dir().join(&save_subdirectory.as_ref().unwrap_or(&PathBuf::new())).join(&map.name), [INFO] [stdout] | -------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.name` [INFO] [stdout] ... [INFO] [stdout] 100 | download_save(&map.name, map.download_link, &filepath); [INFO] [stdout] | ----------------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.download_link` [INFO] [stdout] ... [INFO] [stdout] 104 | if sha256 == map.sha256 && map.sha256 != "" { [INFO] [stdout] | ---------- in Rust 2018, this closure captures all of `map`, but in Rust 2021, it will only capture `map.sha256` [INFO] [stdout] ... [INFO] [stdout] 130 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.name` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.download_link` will be dropped here as part of the closure [INFO] [stdout] | in Rust 2018, `map` is dropped here, but in Rust 2021, only `map.sha256` will be dropped here as part of the closure [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a dummy let to cause `map` to be fully captured [INFO] [stdout] | [INFO] [stdout] 63 ~ { [INFO] [stdout] 64 + let _ = ↦ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a7c7d1e3c222318bb77dac7a45ac80aae9a389c557fd57a6db56e100107e87dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7c7d1e3c222318bb77dac7a45ac80aae9a389c557fd57a6db56e100107e87dc", kill_on_drop: false }` [INFO] [stdout] a7c7d1e3c222318bb77dac7a45ac80aae9a389c557fd57a6db56e100107e87dc