[INFO] cloning repository https://github.com/McGiver-/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/McGiver-/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGiver-%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGiver-%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a73d658f33fc5ce21503726c9815dba08bf932 [INFO] checking McGiver-/rust_practice against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMcGiver-%2Frust_practice" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/McGiver-/rust_practice on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/McGiver-/rust_practice [INFO] finished tweaking git repo https://github.com/McGiver-/rust_practice [INFO] tweaked toml for git repo https://github.com/McGiver-/rust_practice written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/McGiver-/rust_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f0c5349aee8f3986990546046c560210226fc31b4011b04fcd4ff355d33e4e0 [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" "6f0c5349aee8f3986990546046c560210226fc31b4011b04fcd4ff355d33e4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f0c5349aee8f3986990546046c560210226fc31b4011b04fcd4ff355d33e4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0c5349aee8f3986990546046c560210226fc31b4011b04fcd4ff355d33e4e0", kill_on_drop: false }` [INFO] [stdout] 6f0c5349aee8f3986990546046c560210226fc31b4011b04fcd4ff355d33e4e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947d7fb0e03aa830048d7ce4c942bd129a1ae1d1e34ab8a81b4d20a1a6e901f2 [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" "947d7fb0e03aa830048d7ce4c942bd129a1ae1d1e34ab8a81b4d20a1a6e901f2", kill_on_drop: false }` [INFO] [stderr] Checking validate_palindrome v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bracket_balanced(v: &[T],map: HashMap) -> bool where [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bracket_balanced(v: &[T],map: HashMap) -> bool where [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/main.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bracket_balanced(v: &[T],map: HashMap) -> bool where [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn bracket_balanced(v: &[T],map: HashMap) -> bool where [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [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/main.rs:63:46 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(balanced("{}".to_string()), "{}"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` 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] 63 | assert!(balanced("{}".to_string()), "{}", ...); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 63 | assert!(balanced("{}".to_string()), "{}", "{}"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/main.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(balanced("{[]}".to_string()), "{[]}"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 64 | assert!(balanced("{[]}".to_string()), "{}", "{[]}"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/main.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(balanced("{()[]}".to_string()), "{()[]}"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 65 | assert!(balanced("{()[]}".to_string()), "{}", "{()[]}"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | assert!(!balanced("{".to_string()), "{"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 70 | assert!(!balanced("{".to_string()), "{}", "{"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/main.rs:71:47 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(!balanced("{)".to_string()), "{)"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 71 | assert!(!balanced("{)".to_string()), "{}", "{)"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/main.rs:72:53 [INFO] [stdout] | [INFO] [stdout] 72 | assert!(!balanced("{}}{{}{}".to_string()), "{}}{{}{}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 72 | assert!(!balanced("{}}{{}{}".to_string()), "{}", "{}}{{}{}"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/main.rs:73:56 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(!balanced("{()[]}hello".to_string()), "{()[]}hello"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 73 | assert!(!balanced("{()[]}hello".to_string()), "{}", "{()[]}hello"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "947d7fb0e03aa830048d7ce4c942bd129a1ae1d1e34ab8a81b4d20a1a6e901f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947d7fb0e03aa830048d7ce4c942bd129a1ae1d1e34ab8a81b4d20a1a6e901f2", kill_on_drop: false }` [INFO] [stdout] 947d7fb0e03aa830048d7ce4c942bd129a1ae1d1e34ab8a81b4d20a1a6e901f2