[INFO] cloning repository https://github.com/eliovir/rust-ini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eliovir/rust-ini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliovir%2Frust-ini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliovir%2Frust-ini'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd847a3104a6a9066fd8b01773c33212f5014cb6 [INFO] checking eliovir/rust-ini against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliovir%2Frust-ini" "/workspace/builds/worker-36/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-36/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eliovir/rust-ini on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eliovir/rust-ini [INFO] finished tweaking git repo https://github.com/eliovir/rust-ini [INFO] tweaked toml for git repo https://github.com/eliovir/rust-ini written to /workspace/builds/worker-36/source/Cargo.toml [INFO] crate git repo https://github.com/eliovir/rust-ini already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f82ab3414e226b3ef63cdb6777d1bbd2476818a41edbbd1dcb0d38ccb7da1208 [INFO] running `Command { std: "docker" "start" "-a" "f82ab3414e226b3ef63cdb6777d1bbd2476818a41edbbd1dcb0d38ccb7da1208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f82ab3414e226b3ef63cdb6777d1bbd2476818a41edbbd1dcb0d38ccb7da1208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f82ab3414e226b3ef63cdb6777d1bbd2476818a41edbbd1dcb0d38ccb7da1208", kill_on_drop: false }` [INFO] [stdout] f82ab3414e226b3ef63cdb6777d1bbd2476818a41edbbd1dcb0d38ccb7da1208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dc79d7c8308fd9e8fa6496ab5770041adffe97d5cdaef8bbd8004dc2448ba19 [INFO] running `Command { std: "docker" "start" "-a" "0dc79d7c8308fd9e8fa6496ab5770041adffe97d5cdaef8bbd8004dc2448ba19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.6 [INFO] [stderr] Checking log v0.3.5 [INFO] [stderr] Checking inifile v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | panic!("Section [{:?}] does not exist!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 205 | panic!("Section [{:?}] does not exist!", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 205 | panic!("{}", "Section [{:?}] does not exist!"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | panic!("Section [{:?}] does not exist!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 261 | panic!("Section [{:?}] does not exist!", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 261 | panic!("{}", "Section [{:?}] does not exist!"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | panic!("Section [{:?}] does not exist!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 205 | panic!("Section [{:?}] does not exist!", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 205 | panic!("{}", "Section [{:?}] does not exist!"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/lib.rs:261:21 [INFO] [stdout] | [INFO] [stdout] 261 | panic!("Section [{:?}] does not exist!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 261 | panic!("Section [{:?}] does not exist!", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 261 | panic!("{}", "Section [{:?}] does not exist!"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:346:30 [INFO] [stdout] | [INFO] [stdout] 346 | assert!(expected == found, format!("Default file path must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 346 - assert!(expected == found, format!("Default file path must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] 346 + assert!(expected == found, "Default file path must be \"{}\", not \"{}\".", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:354:30 [INFO] [stdout] | [INFO] [stdout] 354 | assert!(expected == found, format!("Default file path must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 354 - assert!(expected == found, format!("Default file path must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] 354 + assert!(expected == found, "Default file path must be \"{}\", not \"{}\".", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:363:30 [INFO] [stdout] | [INFO] [stdout] 363 | assert!(expected == found, format!("{} sections are expected, not {}.", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 363 - assert!(expected == found, format!("{} sections are expected, not {}.", expected, found)); [INFO] [stdout] 363 + assert!(expected == found, "{} sections are expected, not {}.", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:371:30 [INFO] [stdout] | [INFO] [stdout] 371 | assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 371 - assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] 371 + assert!(expected == found, "Sections must be \"{:?}\", not {:?}.", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:407:30 [INFO] [stdout] | [INFO] [stdout] 407 | assert!(expected == found, format!("[section1] value11 must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 407 - assert!(expected == found, format!("[section1] value11 must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] 407 + assert!(expected == found, "[section1] value11 must be \"{}\", not \"{}\".", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | assert!(found, format!("[Booleans] {:?} must be true.", key)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 416 - assert!(found, format!("[Booleans] {:?} must be true.", key)); [INFO] [stdout] 416 + assert!(found, "[Booleans] {:?} must be true.", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:426:20 [INFO] [stdout] | [INFO] [stdout] 426 | assert!(!found, format!("[Booleans] {:?} must be false.", key)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 426 - assert!(!found, format!("[Booleans] {:?} must be false.", key)); [INFO] [stdout] 426 + assert!(!found, "[Booleans] {:?} must be false.", key); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:448:5 [INFO] [stdout] | [INFO] [stdout] 448 | format!("[Integers] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 448 - format!("[Integers] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found)); [INFO] [stdout] 448 + "[Integers] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | format!("[Floats] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 470 - format!("[Floats] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found)); [INFO] [stdout] 470 + "[Floats] {:?} must be \"{:?}\", not \"{:?}\".", key, expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:479:30 [INFO] [stdout] | [INFO] [stdout] 479 | assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 479 - assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] 479 + assert!(expected == found, "Sections must be \"{:?}\", not {:?}.", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:483:32 [INFO] [stdout] | [INFO] [stdout] 483 | assert!(expected2 == found2, format!("Sections must be \"{:?}\", not {:?}.", expected2, found2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 483 - assert!(expected2 == found2, format!("Sections must be \"{:?}\", not {:?}.", expected2, found2)); [INFO] [stdout] 483 + assert!(expected2 == found2, "Sections must be \"{:?}\", not {:?}.", expected2, found2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:500:30 [INFO] [stdout] | [INFO] [stdout] 500 | assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 500 - assert!(expected == found, format!("Sections must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] 500 + assert!(expected == found, "Sections must be \"{:?}\", not {:?}.", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:509:30 [INFO] [stdout] | [INFO] [stdout] 509 | assert!(expected == found, format!("[section1] value2 must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 509 - assert!(expected == found, format!("[section1] value2 must be \"{}\", not \"{}\".", expected, found)); [INFO] [stdout] 509 + assert!(expected == found, "[section1] value2 must be \"{}\", not \"{}\".", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:517:30 [INFO] [stdout] | [INFO] [stdout] 517 | assert!(expected == found, format!("Items of [section1] must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 517 - assert!(expected == found, format!("Items of [section1] must be \"{:?}\", not {:?}.", expected, found)); [INFO] [stdout] 517 + assert!(expected == found, "Items of [section1] must be \"{:?}\", not {:?}.", expected, found); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | assert!(exists(path), format!("{} should exist after writing inifile!", writepath)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 551 - assert!(exists(path), format!("{} should exist after writing inifile!", writepath)); [INFO] [stdout] 551 + assert!(exists(path), "{} should exist after writing inifile!", writepath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:561:25 [INFO] [stdout] | [INFO] [stdout] 561 | assert!(exists(path), format!("{} should exist after reading the new inifile!", writepath)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 561 - assert!(exists(path), format!("{} should exist after reading the new inifile!", writepath)); [INFO] [stdout] 561 + assert!(exists(path), "{} should exist after reading the new inifile!", writepath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | assert!(!result.is_err(), format!("Unlinking {} should not panic!", writepath)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 563 - assert!(!result.is_err(), format!("Unlinking {} should not panic!", writepath)); [INFO] [stdout] 563 + assert!(!result.is_err(), "Unlinking {} should not panic!", writepath); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> src/bench.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/bench.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/bench.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/bench.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn bench_inifile(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/bench.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | b.iter(|| { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `inifile` due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0dc79d7c8308fd9e8fa6496ab5770041adffe97d5cdaef8bbd8004dc2448ba19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc79d7c8308fd9e8fa6496ab5770041adffe97d5cdaef8bbd8004dc2448ba19", kill_on_drop: false }` [INFO] [stdout] 0dc79d7c8308fd9e8fa6496ab5770041adffe97d5cdaef8bbd8004dc2448ba19