[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] testing oyas/rust-lang against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foyas%2Frust-lang" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oyas/rust-lang on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-18/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9b6b7ee8aac66fe8595f9535bf81c1d1c6a5df1010639b278b9e8836d069dec [INFO] running `Command { std: "docker" "start" "-a" "b9b6b7ee8aac66fe8595f9535bf81c1d1c6a5df1010639b278b9e8836d069dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9b6b7ee8aac66fe8595f9535bf81c1d1c6a5df1010639b278b9e8836d069dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9b6b7ee8aac66fe8595f9535bf81c1d1c6a5df1010639b278b9e8836d069dec", kill_on_drop: false }` [INFO] [stdout] b9b6b7ee8aac66fe8595f9535bf81c1d1c6a5df1010639b278b9e8836d069dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 795bd53ad12644432c4a05eb8b84f8434010ef218dac8755d7ea38320ae77180 [INFO] running `Command { std: "docker" "start" "-a" "795bd53ad12644432c4a05eb8b84f8434010ef218dac8755d7ea38320ae77180", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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_panics)]` on by default [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] 169 - format!("Invalid syntax: unexpected element {:?}.", next.value) [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: unused borrow that must be used [INFO] [stdout] --> src/parser/element.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.54s [INFO] running `Command { std: "docker" "inspect" "795bd53ad12644432c4a05eb8b84f8434010ef218dac8755d7ea38320ae77180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "795bd53ad12644432c4a05eb8b84f8434010ef218dac8755d7ea38320ae77180", kill_on_drop: false }` [INFO] [stdout] 795bd53ad12644432c4a05eb8b84f8434010ef218dac8755d7ea38320ae77180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 723e62e26469ac3e02ac9a1cd11eccb74412d146f5f5af5bc3a6258677a913bb [INFO] running `Command { std: "docker" "start" "-a" "723e62e26469ac3e02ac9a1cd11eccb74412d146f5f5af5bc3a6258677a913bb", kill_on_drop: false }` [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_panics)]` on by default [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] 169 - format!("Invalid syntax: unexpected element {:?}.", next.value) [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] [stderr] Compiling rustlang v0.1.0 (/opt/rustwide/workdir) [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: unused borrow that must be used [INFO] [stdout] --> src/parser/element.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 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_panics)]` on by default [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] 10 - assert!(result.is_some(), format!("Failed to run {}.", file_path)); [INFO] [stdout] 10 + assert!(result.is_some(), "Failed to run {}.", file_path); [INFO] [stdout] | [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_panics)]` on by default [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] 169 - format!("Invalid syntax: unexpected element {:?}.", next.value) [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: unused borrow that must be used [INFO] [stdout] --> src/parser/element.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 262 | let _ = &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustlang-a901e64cc77eca05) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rustlang-d87c8682a496f132) [INFO] [stderr] Executable tests/examples.rs (/opt/rustwide/target/debug/deps/examples-289dce8aedac719f) [INFO] running `Command { std: "docker" "inspect" "723e62e26469ac3e02ac9a1cd11eccb74412d146f5f5af5bc3a6258677a913bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "723e62e26469ac3e02ac9a1cd11eccb74412d146f5f5af5bc3a6258677a913bb", kill_on_drop: false }` [INFO] [stdout] 723e62e26469ac3e02ac9a1cd11eccb74412d146f5f5af5bc3a6258677a913bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 971d6292af4d1bef9cde018322fa497b1d4fcf4b1d6b5f64c4d457b77f3cd318 [INFO] running `Command { std: "docker" "start" "-a" "971d6292af4d1bef9cde018322fa497b1d4fcf4b1d6b5f64c4d457b77f3cd318", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser/parser.rs:169:29 [INFO] [stderr] | [INFO] [stderr] 169 | ... format!("Invalid syntax: unexpected element {:?}.", next.value) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 169 - format!("Invalid syntax: unexpected element {:?}.", next.value) [INFO] [stderr] 169 + "Invalid syntax: unexpected element {:?}.", next.value [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:229:79 [INFO] [stderr] | [INFO] [stderr] 229 | _ => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 229 | _ => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:231:78 [INFO] [stderr] | [INFO] [stderr] 231 | None => panic!("Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 231 | None => panic!("{}", "Invalid syntax: operator 'if' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:256:80 [INFO] [stderr] | [INFO] [stderr] 256 | _ => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 256 | _ => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:258:79 [INFO] [stderr] | [INFO] [stderr] 258 | None => panic!("Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 258 | None => panic!("{}", "Invalid syntax: operator 'for' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:272:80 [INFO] [stderr] | [INFO] [stderr] 272 | _ => panic!("Invalid syntax: operator 'fun' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 272 | _ => panic!("{}", "Invalid syntax: operator 'fun' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message contains a brace [INFO] [stderr] --> src/parser/parser.rs:274:77 [INFO] [stderr] | [INFO] [stderr] 274 | None => panic!("Invalid syntax: symbol 'fun' couldn't find '{' token."), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 274 | None => panic!("{}", "Invalid syntax: symbol 'fun' couldn't find '{' token."), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/parser/element.rs:262:13 [INFO] [stderr] | [INFO] [stderr] 262 | &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 262 | let _ = &child.print_with_prefix(fmt, &format!("{}. ", prefix)); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rustlang` (lib) generated 8 warnings [INFO] [stderr] warning: `rustlang` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/examples.rs:10:35 [INFO] [stderr] | [INFO] [stderr] 10 | assert!(result.is_some(), format!("Failed to run {}.", file_path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 10 - assert!(result.is_some(), format!("Failed to run {}.", file_path)); [INFO] [stderr] 10 + assert!(result.is_some(), "Failed to run {}.", file_path); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rustlang` (test "examples") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustlang-a901e64cc77eca05) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustlang-d87c8682a496f132) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/examples.rs (/opt/rustwide/target/debug/deps/examples-289dce8aedac719f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test run_examples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rustlang [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "971d6292af4d1bef9cde018322fa497b1d4fcf4b1d6b5f64c4d457b77f3cd318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971d6292af4d1bef9cde018322fa497b1d4fcf4b1d6b5f64c4d457b77f3cd318", kill_on_drop: false }` [INFO] [stdout] 971d6292af4d1bef9cde018322fa497b1d4fcf4b1d6b5f64c4d457b77f3cd318