[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] building eliovir/rust-ini against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feliovir%2Frust-ini" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eliovir/rust-ini on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-22/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" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bc2fe11e937473815b4171c62a442d96a8aa90c39d25c278713cf5e93a89f14 [INFO] running `Command { std: "docker" "start" "-a" "7bc2fe11e937473815b4171c62a442d96a8aa90c39d25c278713cf5e93a89f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bc2fe11e937473815b4171c62a442d96a8aa90c39d25c278713cf5e93a89f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bc2fe11e937473815b4171c62a442d96a8aa90c39d25c278713cf5e93a89f14", kill_on_drop: false }` [INFO] [stdout] 7bc2fe11e937473815b4171c62a442d96a8aa90c39d25c278713cf5e93a89f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1c4bb05120b6331ee5338cb499aeab2654882bca6add4dbad5375eb6cd83673 [INFO] running `Command { std: "docker" "start" "-a" "a1c4bb05120b6331ee5338cb499aeab2654882bca6add4dbad5375eb6cd83673", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.6 [INFO] [stderr] Compiling log v0.3.5 [INFO] [stderr] Compiling 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "a1c4bb05120b6331ee5338cb499aeab2654882bca6add4dbad5375eb6cd83673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c4bb05120b6331ee5338cb499aeab2654882bca6add4dbad5375eb6cd83673", kill_on_drop: false }` [INFO] [stdout] a1c4bb05120b6331ee5338cb499aeab2654882bca6add4dbad5375eb6cd83673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b4bbc1c3c23372d863493a193626fedd57e2413b48b391d82b7a27049c97d24 [INFO] running `Command { std: "docker" "start" "-a" "4b4bbc1c3c23372d863493a193626fedd57e2413b48b391d82b7a27049c97d24", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 2 warnings emitted [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/inifile-814bd2c3e1129df6) [INFO] running `Command { std: "docker" "inspect" "4b4bbc1c3c23372d863493a193626fedd57e2413b48b391d82b7a27049c97d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b4bbc1c3c23372d863493a193626fedd57e2413b48b391d82b7a27049c97d24", kill_on_drop: false }` [INFO] [stdout] 4b4bbc1c3c23372d863493a193626fedd57e2413b48b391d82b7a27049c97d24