[INFO] cloning repository https://github.com/chrisxue815/codeforces-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisxue815/codeforces-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisxue815%2Fcodeforces-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisxue815%2Fcodeforces-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49ba2021af8c2b5e1a701f63c31551e33f835751 [INFO] checking chrisxue815/codeforces-rust against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisxue815%2Fcodeforces-rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisxue815/codeforces-rust 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/chrisxue815/codeforces-rust [INFO] finished tweaking git repo https://github.com/chrisxue815/codeforces-rust [INFO] tweaked toml for git repo https://github.com/chrisxue815/codeforces-rust written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/chrisxue815/codeforces-rust 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] e86c1203201701668ef6c0b15627de3d05204990d0ec49996e094702ac897ff6 [INFO] running `Command { std: "docker" "start" "-a" "e86c1203201701668ef6c0b15627de3d05204990d0ec49996e094702ac897ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e86c1203201701668ef6c0b15627de3d05204990d0ec49996e094702ac897ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86c1203201701668ef6c0b15627de3d05204990d0ec49996e094702ac897ff6", kill_on_drop: false }` [INFO] [stdout] e86c1203201701668ef6c0b15627de3d05204990d0ec49996e094702ac897ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] b98c4795808df7e93fe78d0fc9fb9afc755423303ba34cddb2d6175e69c16fd6 [INFO] running `Command { std: "docker" "start" "-a" "b98c4795808df7e93fe78d0fc9fb9afc755423303ba34cddb2d6175e69c16fd6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking codeforces-rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0001a.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 70 | let n: u64 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `codeforces_rust` [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0001a.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 71 | let m: u64 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/p0001a.rs [INFO] [stderr] * src/p0050a.rs [INFO] [stderr] * src/p0116a.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] --> src/p0001a.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 70 | let n: u64 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/p0001a.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 71 | let m: u64 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/p0001a.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 72 | let a: u64 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: argument never used [INFO] [stderr] --> src/p0050a.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | None => panic!("{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | [INFO] [stderr] | formatting specifier missing [INFO] [stderr] ... [INFO] [stderr] 70 | let m: u32 = read!(); [INFO] [stderr] | ------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: argument never used [INFO] [stderr] --> src/p0050a.rs:59:40 [INFO] [stderr] | [INFO] [stderr] 59 | None => panic!("{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | [INFO] [stderr] | formatting specifier missing [INFO] [stderr] ... [INFO] [stderr] 71 | let n: u32 = read!(); [INFO] [stderr] | ------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/p0116a.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 74 | let n: u32 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/p0116a.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 79 | let a: i32 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: multiple unused formatting arguments [INFO] [stderr] --> src/p0116a.rs:63:40 [INFO] [stderr] | [INFO] [stderr] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stderr] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stderr] | | | [INFO] [stderr] | | argument never used [INFO] [stderr] | multiple missing formatting specifiers [INFO] [stderr] ... [INFO] [stderr] 80 | let b: i32 = read!(); [INFO] [stderr] | ------- [INFO] [stderr] | | [INFO] [stderr] | in this macro invocation [INFO] [stderr] | in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0001a.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 72 | let a: u64 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> src/p0050a.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] ... [INFO] [stdout] 70 | let m: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: argument never used [INFO] [stdout] --> src/p0050a.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | [INFO] [stdout] | formatting specifier missing [INFO] [stdout] ... [INFO] [stdout] 71 | let n: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0116a.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 74 | let n: u32 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0116a.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 79 | let a: i32 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: multiple unused formatting arguments [INFO] [stdout] --> src/p0116a.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "{}", "{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument never used [INFO] [stdout] | | | [INFO] [stdout] | | argument never used [INFO] [stdout] | multiple missing formatting specifiers [INFO] [stdout] ... [INFO] [stdout] 80 | let b: i32 = read!(); [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | in this macro invocation [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scan` (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/p0001a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 70 | let n: u64 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0001a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 71 | let m: u64 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0001a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 72 | let a: u64 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0004a.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 69 | let w: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0050a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 70 | let m: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0050a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 71 | let n: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0116a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 74 | let n: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0116a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 79 | let a: i32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0116a.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 80 | let b: i32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (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/p0158b.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | let stdin: &mut Iterator = &mut ($input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator` [INFO] [stdout] ... [INFO] [stdout] 81 | let si: usize = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codeforces-rust` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0001a.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | let n: u64 = read!(); [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 message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0001a.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | let m: u64 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0001a.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | let a: u64 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0004a.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | let w: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 58 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0050a.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | let m: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0050a.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | let n: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0116a.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | let n: u32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0116a.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | let a: i32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0116a.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | let b: i32 = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 63 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/p0158b.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("Bad read! format string: did not contain {{}}"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | let si: usize = read!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] = note: this warning originates in the macro `scan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 59 | None => panic!("{}", "Bad read! format string: did not contain {{}}"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [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" "b98c4795808df7e93fe78d0fc9fb9afc755423303ba34cddb2d6175e69c16fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98c4795808df7e93fe78d0fc9fb9afc755423303ba34cddb2d6175e69c16fd6", kill_on_drop: false }` [INFO] [stdout] b98c4795808df7e93fe78d0fc9fb9afc755423303ba34cddb2d6175e69c16fd6