[INFO] fetching crate mktemp-rs 0.2.0... [INFO] checking mktemp-rs-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate mktemp-rs 0.2.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate mktemp-rs 0.2.0 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 mktemp-rs 0.2.0 [INFO] finished tweaking crates.io crate mktemp-rs 0.2.0 [INFO] tweaked toml for crates.io crate mktemp-rs 0.2.0 written to /workspace/builds/worker-12/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] 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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] cffe9a551ba502f610e62d29804edb0cd5899339f805ec8b0c836a3a11e92779 [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" "cffe9a551ba502f610e62d29804edb0cd5899339f805ec8b0c836a3a11e92779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cffe9a551ba502f610e62d29804edb0cd5899339f805ec8b0c836a3a11e92779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffe9a551ba502f610e62d29804edb0cd5899339f805ec8b0c836a3a11e92779", kill_on_drop: false }` [INFO] [stdout] cffe9a551ba502f610e62d29804edb0cd5899339f805ec8b0c836a3a11e92779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 71b2ff60347c35f0397d81dc0581e70047102353191db884d457e2fa07a34e4f [INFO] running `Command { std: "docker" "start" "-a" "71b2ff60347c35f0397d81dc0581e70047102353191db884d457e2fa07a34e4f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking mktemp-rs v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/temp_file.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/temp_dir.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/readme.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `temp_file` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/temp_file.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: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 15 | assert_ok!(tf); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 21 | assert_ok!(tf); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 27 | assert_ok!(tf); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 33 | assert_ok!(tf); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 45 | assert_ok!(md); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 53 | assert_ok!(res); [INFO] [stderr] | ---------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 56 | assert_ok!(res); [INFO] [stderr] | ---------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 60 | assert_ok!(res); [INFO] [stderr] | ---------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> tests/temp_file.rs:8:43 [INFO] [stderr] | [INFO] [stderr] 8 | assert!($e.is_ok(), "{:?}", "{}", "{}", "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ------ ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | | [INFO] [stderr] | | | argument never used [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 71 | assert_ok!(tf); [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | assert_ok!(md); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `Metadata` [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{:?}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `temp_dir` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/temp_dir.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[E0277]: `TempDir` doesn't implement `Debug` [INFO] [stderr] --> tests/temp_dir.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | assert!($e.is_ok(), "{:?}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TempDir` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stderr] ... [INFO] [stderr] 14 | assert_ok!(td); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `TempDir` [INFO] [stderr] = note: this error originates in the macro `$crate::const_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `TempDir` doesn't implement `Debug` [INFO] [stderr] --> tests/temp_dir.rs:7:37 [INFO] [stderr] | [INFO] [stderr] 7 | assert!($e.is_ok(), "{:?}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TempDir` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stderr] ... [INFO] [stderr] 20 | assert_ok!(td); [INFO] [stderr] | --------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the trait `Debug` is not implemented for `TempDir` [INFO] [stderr] = note: this error originates in the macro `$crate::const_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | assert_ok!(td); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn non-fmt-panics` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | assert_ok!(td); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | assert_ok!(md); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `Metadata` [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), "{:?}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.49s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking mktemp-rs v0.2.0 (/tmp/fixit) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | assert_ok!(md); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | assert_ok!(res); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_file.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | assert_ok!(tf); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 8 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | assert_ok!(td); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | assert_ok!(td); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> tests/temp_dir.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | assert_ok!(md); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_ok` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 7 | assert!($e.is_ok(), "{}", $e.unwrap_or_else(|e| panic!("{}", e))); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mktemp-rs` due to 10 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] [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" "71b2ff60347c35f0397d81dc0581e70047102353191db884d457e2fa07a34e4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71b2ff60347c35f0397d81dc0581e70047102353191db884d457e2fa07a34e4f", kill_on_drop: false }` [INFO] [stdout] 71b2ff60347c35f0397d81dc0581e70047102353191db884d457e2fa07a34e4f