[INFO] cloning repository https://github.com/chirprush/rust-mathl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chirprush/rust-mathl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirprush%2Frust-mathl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirprush%2Frust-mathl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b293d4e6f736bc714163fcf9aea1feba4bc7a00 [INFO] building chirprush/rust-mathl against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchirprush%2Frust-mathl" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chirprush/rust-mathl on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chirprush/rust-mathl [INFO] finished tweaking git repo https://github.com/chirprush/rust-mathl [INFO] tweaked toml for git repo https://github.com/chirprush/rust-mathl written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chirprush/rust-mathl already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dfb7053dfd51ec46bb4d8d1553af46f8dc5debf01d231d0a581a15682b63f22 [INFO] running `Command { std: "docker" "start" "-a" "5dfb7053dfd51ec46bb4d8d1553af46f8dc5debf01d231d0a581a15682b63f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dfb7053dfd51ec46bb4d8d1553af46f8dc5debf01d231d0a581a15682b63f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dfb7053dfd51ec46bb4d8d1553af46f8dc5debf01d231d0a581a15682b63f22", kill_on_drop: false }` [INFO] [stdout] 5dfb7053dfd51ec46bb4d8d1553af46f8dc5debf01d231d0a581a15682b63f22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 286203e1d76bfde51421cd0ef8d7fe06d1697f2aabe39e17467751c68fa7f1fc [INFO] running `Command { std: "docker" "start" "-a" "286203e1d76bfde51421cd0ef8d7fe06d1697f2aabe39e17467751c68fa7f1fc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling utf8parse v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rustyline v7.1.0 [INFO] [stderr] Compiling mathl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/parser.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 11 | pub fn new(tokens: Vec>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | _ => panic!(format!("Binary operator '{}' not yet implemented", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 44 - _ => panic!(format!("Binary operator '{}' not yet implemented", op)) [INFO] [stdout] 44 + _ => panic!("Binary operator '{}' not yet implemented", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/parser/node.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!("Unary operator '{}' not yet implemented") [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] 51 | _ => panic!("Unary operator '{}' not yet implemented", ...) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!("{}", "Unary operator '{}' not yet implemented") [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | _ => panic!(format!("Cannot display node of type {}", self.type_name())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 175 - _ => panic!(format!("Cannot display node of type {}", self.type_name())), [INFO] [stdout] 175 + _ => panic!("Cannot display node of type {}", self.type_name()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.56s [INFO] running `Command { std: "docker" "inspect" "286203e1d76bfde51421cd0ef8d7fe06d1697f2aabe39e17467751c68fa7f1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286203e1d76bfde51421cd0ef8d7fe06d1697f2aabe39e17467751c68fa7f1fc", kill_on_drop: false }` [INFO] [stdout] 286203e1d76bfde51421cd0ef8d7fe06d1697f2aabe39e17467751c68fa7f1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80d16d897da6048526c4383e7d5ded5220788c0ff08a7564c7f0eb723e628c86 [INFO] running `Command { std: "docker" "start" "-a" "80d16d897da6048526c4383e7d5ded5220788c0ff08a7564c7f0eb723e628c86", kill_on_drop: false }` [INFO] [stderr] Compiling mathl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/parser/parser.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'a> Parser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 11 | pub fn new(tokens: Vec>) -> Parser { [INFO] [stdout] | ^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | _ => panic!(format!("Binary operator '{}' not yet implemented", op)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 44 - _ => panic!(format!("Binary operator '{}' not yet implemented", op)) [INFO] [stdout] 44 + _ => panic!("Binary operator '{}' not yet implemented", op) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/parser/node.rs:51:50 [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!("Unary operator '{}' not yet implemented") [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] 51 | _ => panic!("Unary operator '{}' not yet implemented", ...) [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 51 | _ => panic!("{}", "Unary operator '{}' not yet implemented") [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | _ => panic!(format!("Cannot display node of type {}", self.type_name())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 175 - _ => panic!(format!("Cannot display node of type {}", self.type_name())), [INFO] [stdout] 175 + _ => panic!("Cannot display node of type {}", self.type_name()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "80d16d897da6048526c4383e7d5ded5220788c0ff08a7564c7f0eb723e628c86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80d16d897da6048526c4383e7d5ded5220788c0ff08a7564c7f0eb723e628c86", kill_on_drop: false }` [INFO] [stdout] 80d16d897da6048526c4383e7d5ded5220788c0ff08a7564c7f0eb723e628c86