[INFO] cloning repository https://github.com/redindelible/flywheel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redindelible/flywheel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredindelible%2Fflywheel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredindelible%2Fflywheel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbbebad9c824668a9e353e816cc4790a543165ab [INFO] building redindelible/flywheel 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%2Fredindelible%2Fflywheel" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redindelible/flywheel 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/redindelible/flywheel [INFO] finished tweaking git repo https://github.com/redindelible/flywheel [INFO] tweaked toml for git repo https://github.com/redindelible/flywheel written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/redindelible/flywheel 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1ed732691580281360f3eabfe30bc693ca9c7281caafd438b1bfc9570c0b4cb4 [INFO] running `Command { std: "docker" "start" "-a" "1ed732691580281360f3eabfe30bc693ca9c7281caafd438b1bfc9570c0b4cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed732691580281360f3eabfe30bc693ca9c7281caafd438b1bfc9570c0b4cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed732691580281360f3eabfe30bc693ca9c7281caafd438b1bfc9570c0b4cb4", kill_on_drop: false }` [INFO] [stdout] 1ed732691580281360f3eabfe30bc693ca9c7281caafd438b1bfc9570c0b4cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3d52d2206eee3061b00c606145a241038d7c2cf10eff21eac8b89ae500eb9e17 [INFO] running `Command { std: "docker" "start" "-a" "3d52d2206eee3061b00c606145a241038d7c2cf10eff21eac8b89ae500eb9e17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling flywheel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::codegen::CodeBuilder` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::codegen::CodeBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addressing`, `Reg`, and `X64` [INFO] [stdout] --> src/main.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::codegen::x64::{Addressing, Reg, X64}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter` [INFO] [stdout] --> src/codegen/code_builder.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{iter, mem}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TokenType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:211:37 [INFO] [stdout] | [INFO] [stdout] 211 | Err(format!("Expected a {ty} token").into()) [INFO] [stdout] | ^^^^ `TokenType` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `TokenType` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `TokenType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/parser.rs:340:65 [INFO] [stdout] | [INFO] [stdout] 340 | Err(ParseError::from(format!("Unexpected token: {other}"))) [INFO] [stdout] | ^^^^^^^ `TokenType` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `TokenType` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Stmt` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | dbg!(Parser::from_tokens(tokens).parse_stmt()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Stmt` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Stmt` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Stmt` or manually `impl Debug for Stmt` [INFO] [stdout] = help: the trait `Debug` is implemented for `Result` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/parser.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | let idx = self.find(|c| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flywheel` (bin "flywheel") due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d52d2206eee3061b00c606145a241038d7c2cf10eff21eac8b89ae500eb9e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d52d2206eee3061b00c606145a241038d7c2cf10eff21eac8b89ae500eb9e17", kill_on_drop: false }` [INFO] [stdout] 3d52d2206eee3061b00c606145a241038d7c2cf10eff21eac8b89ae500eb9e17