[INFO] fetching crate mitre-assistant 0.0.19... [INFO] checking mitre-assistant-0.0.19 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate mitre-assistant 0.0.19 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mitre-assistant 0.0.19 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 crates.io crate mitre-assistant 0.0.19 [INFO] finished tweaking crates.io crate mitre-assistant 0.0.19 [INFO] tweaked toml for crates.io crate mitre-assistant 0.0.19 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate mitre-assistant 0.0.19 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] d7eb83ef7ebfda7ae7d20f59cd3fd0f7133fefd6a30a0859795445c2a74c6761 [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" "d7eb83ef7ebfda7ae7d20f59cd3fd0f7133fefd6a30a0859795445c2a74c6761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7eb83ef7ebfda7ae7d20f59cd3fd0f7133fefd6a30a0859795445c2a74c6761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7eb83ef7ebfda7ae7d20f59cd3fd0f7133fefd6a30a0859795445c2a74c6761", kill_on_drop: false }` [INFO] [stdout] d7eb83ef7ebfda7ae7d20f59cd3fd0f7133fefd6a30a0859795445c2a74c6761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] aa327e94f8bc3d08dd1031bb643fc7841d44d772967220face027fabd8da90f2 [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" "aa327e94f8bc3d08dd1031bb643fc7841d44d772967220face027fabd8da90f2", 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.71 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking socks v0.3.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking regex v1.5.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking publicsuffix v1.5.6 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Checking mitre-assistant v0.0.19 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `mitre_assistant` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/./utils/../modules/parser.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: argument never used [INFO] [stderr] --> src/./utils/../modules/parser.rs:141:35 [INFO] [stderr] | [INFO] [stderr] 141 | Err(e) => panic!("{}", "{}", "Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | [INFO] [stderr] | formatting specifier missing [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("{}", "Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("{}", "Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("{}", "Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("{}", "Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Checking cookie v0.14.4 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking ureq v1.5.5 [INFO] [stderr] Checking mitre-assistant v0.0.19 (/tmp/fixit) [INFO] [stdout] error: expected `,`, found `.` [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `.` [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:66 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_owned` in this scope [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_owned` in this scope [INFO] [stdout] --> src/./utils/../modules/parser.rs:141:67 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => panic!("Invalid json - check matrix file. Error: ".to_owned() + &e.to_string()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mitre-assistant` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "aa327e94f8bc3d08dd1031bb643fc7841d44d772967220face027fabd8da90f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa327e94f8bc3d08dd1031bb643fc7841d44d772967220face027fabd8da90f2", kill_on_drop: false }` [INFO] [stdout] aa327e94f8bc3d08dd1031bb643fc7841d44d772967220face027fabd8da90f2