[INFO] cloning repository https://github.com/oyas/rust-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oyas/rust-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyas%2Frust-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyas%2Frust-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ff9a1d5bd39b503a169e683f61d3495f4bdc4f3 [INFO] checking oyas/rust-lang against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyas%2Frust-lang" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oyas/rust-lang on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oyas/rust-lang [INFO] finished tweaking git repo https://github.com/oyas/rust-lang [INFO] tweaked toml for git repo https://github.com/oyas/rust-lang written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/oyas/rust-lang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1c36c1352f2ed83570a7c46846ede6a4fb60206fd53b41e93eae5b27c677e6a [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" "f1c36c1352f2ed83570a7c46846ede6a4fb60206fd53b41e93eae5b27c677e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1c36c1352f2ed83570a7c46846ede6a4fb60206fd53b41e93eae5b27c677e6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c36c1352f2ed83570a7c46846ede6a4fb60206fd53b41e93eae5b27c677e6a", kill_on_drop: false }` [INFO] [stdout] f1c36c1352f2ed83570a7c46846ede6a4fb60206fd53b41e93eae5b27c677e6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a1004dc4321cbeb3e64e0916dd46a4bcf5c68df61a1dc13cd1dc62cd1a8bb89 [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" "6a1004dc4321cbeb3e64e0916dd46a4bcf5c68df61a1dc13cd1dc62cd1a8bb89", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rustlang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/parser.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | ... format!("Invalid syntax: unexpected element {:?}.", next.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 169 | "Invalid syntax: unexpected element {:?}.", next.value [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:229:79 [INFO] [stdout] | [INFO] [stdout] 229 | _ => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [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] 229 | _ => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:231:78 [INFO] [stdout] | [INFO] [stdout] 231 | None => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [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] 231 | None => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:256:80 [INFO] [stdout] | [INFO] [stdout] 256 | _ => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [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] 256 | _ => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:258:79 [INFO] [stdout] | [INFO] [stdout] 258 | None => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [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] 258 | None => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:272:80 [INFO] [stdout] | [INFO] [stdout] 272 | _ => panic!("Invalid syntax: operator 'fun' couldn't find '{' token."), [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] 272 | _ => panic!("{}", "Invalid syntax: operator 'fun' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:274:77 [INFO] [stdout] | [INFO] [stdout] 274 | None => panic!("Invalid syntax: symbol 'fun' couldn't find '{' token."), [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] 274 | None => panic!("{}", "Invalid syntax: symbol 'fun' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/parser.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | ... format!("Invalid syntax: unexpected element {:?}.", next.value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 169 | "Invalid syntax: unexpected element {:?}.", next.value [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:229:79 [INFO] [stdout] | [INFO] [stdout] 229 | _ => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [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] 229 | _ => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:231:78 [INFO] [stdout] | [INFO] [stdout] 231 | None => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [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] 231 | None => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:256:80 [INFO] [stdout] | [INFO] [stdout] 256 | _ => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [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] 256 | _ => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:258:79 [INFO] [stdout] | [INFO] [stdout] 258 | None => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [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] 258 | None => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:272:80 [INFO] [stdout] | [INFO] [stdout] 272 | _ => panic!("Invalid syntax: operator 'fun' couldn't find '{' token."), [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] 272 | _ => panic!("{}", "Invalid syntax: operator 'fun' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser/parser.rs:274:77 [INFO] [stdout] | [INFO] [stdout] 274 | None => panic!("Invalid syntax: symbol 'fun' couldn't find '{' token."), [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] 274 | None => panic!("{}", "Invalid syntax: symbol 'fun' couldn't find '{' token."), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/examples.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(result.is_some(), format!("Failed to run {}.", file_path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 10 | assert!(result.is_some(), "Failed to run {}.", file_path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.24s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a1004dc4321cbeb3e64e0916dd46a4bcf5c68df61a1dc13cd1dc62cd1a8bb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a1004dc4321cbeb3e64e0916dd46a4bcf5c68df61a1dc13cd1dc62cd1a8bb89", kill_on_drop: false }` [INFO] [stdout] 6a1004dc4321cbeb3e64e0916dd46a4bcf5c68df61a1dc13cd1dc62cd1a8bb89