[INFO] cloning repository https://github.com/Bliztle/paf-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bliztle/paf-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliztle%2Fpaf-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliztle%2Fpaf-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85655830e6e9097306294fa03e8517094147adf7 [INFO] checking Bliztle/paf-lang/85655830e6e9097306294fa03e8517094147adf7 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliztle%2Fpaf-lang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bliztle/paf-lang on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bliztle/paf-lang [INFO] finished tweaking git repo https://github.com/Bliztle/paf-lang [INFO] tweaked toml for git repo https://github.com/Bliztle/paf-lang written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bliztle/paf-lang 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4121dec33c2e19d47b4db6ddd6333e1050f567ba6338f541bfb2b02f49d9bada [INFO] running `Command { std: "docker" "start" "-a" "4121dec33c2e19d47b4db6ddd6333e1050f567ba6338f541bfb2b02f49d9bada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4121dec33c2e19d47b4db6ddd6333e1050f567ba6338f541bfb2b02f49d9bada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4121dec33c2e19d47b4db6ddd6333e1050f567ba6338f541bfb2b02f49d9bada", kill_on_drop: false }` [INFO] [stdout] 4121dec33c2e19d47b4db6ddd6333e1050f567ba6338f541bfb2b02f49d9bada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a3d6030ecb1d28aa28496531469e614118cbd6ca2d7fe6f3e0ff3e8f10659c7 [INFO] running `Command { std: "docker" "start" "-a" "8a3d6030ecb1d28aa28496531469e614118cbd6ca2d7fe6f3e0ff3e8f10659c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking paf-lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | // Statement-like expressions [INFO] [stdout] 9 | FunctionDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | VariableDeclaration(String, Option, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Assignment(String, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Return(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | // Control flow [INFO] [stdout] 14 | If(Box, Vec), [INFO] [stdout] | ^^ [INFO] [stdout] 15 | While(Box, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Binary(Box, BinaryOperator, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Float` are never constructed [INFO] [stdout] --> src/ast/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 24 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Subtract`, `Multiply`, and `Divide` are never constructed [INFO] [stdout] --> src/ast/ast.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 29 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Float` are never constructed [INFO] [stdout] --> src/ast/ast.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 36 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node` and `annotations` are never read [INFO] [stdout] --> src/ast/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 41 | node: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | // This is kinda cursed, but only accessed from typesafe functions [INFO] [stdout] 43 | annotations: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_annotation` and `get_annotation` are never used [INFO] [stdout] --> src/ast/ast.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 56 | fn add_annotation(&mut self, annotation: U) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn get_annotation(&self) -> Option<&U> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Annotation` is never used [INFO] [stdout] --> src/ast/ast.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | trait Annotation: 'static {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnnotationKey` is never used [INFO] [stdout] --> src/ast/ast.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum AnnotationKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `key` is never used [INFO] [stdout] --> src/ast/ast.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl AnnotationKey { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 77 | fn key() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoopInfo` is never constructed [INFO] [stdout] --> src/ast/ast.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | struct LoopInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `key` is never used [INFO] [stdout] --> src/ast/ast.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl AnnotationKey { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 87 | fn key() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | enum Expression { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 8 | // Statement-like expressions [INFO] [stdout] 9 | FunctionDeclaration(String, Vec, Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | VariableDeclaration(String, Option, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | Assignment(String, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Return(Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | // Control flow [INFO] [stdout] 14 | If(Box, Vec), [INFO] [stdout] | ^^ [INFO] [stdout] 15 | While(Box, Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Ident(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | Binary(Box, BinaryOperator, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Float` are never constructed [INFO] [stdout] --> src/ast/ast.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 24 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Subtract`, `Multiply`, and `Divide` are never constructed [INFO] [stdout] --> src/ast/ast.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 29 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | Subtract, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Multiply, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int` and `Float` are never constructed [INFO] [stdout] --> src/ast/ast.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 36 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node` and `annotations` are never read [INFO] [stdout] --> src/ast/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 41 | node: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | // This is kinda cursed, but only accessed from typesafe functions [INFO] [stdout] 43 | annotations: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_annotation` and `get_annotation` are never used [INFO] [stdout] --> src/ast/ast.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl Node { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 56 | fn add_annotation(&mut self, annotation: U) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn get_annotation(&self) -> Option<&U> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Annotation` is never used [INFO] [stdout] --> src/ast/ast.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | trait Annotation: 'static {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnnotationKey` is never used [INFO] [stdout] --> src/ast/ast.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | enum AnnotationKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `key` is never used [INFO] [stdout] --> src/ast/ast.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 76 | impl AnnotationKey { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 77 | fn key() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoopInfo` is never constructed [INFO] [stdout] --> src/ast/ast.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | struct LoopInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `key` is never used [INFO] [stdout] --> src/ast/ast.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl AnnotationKey { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 87 | fn key() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.51s [INFO] running `Command { std: "docker" "inspect" "8a3d6030ecb1d28aa28496531469e614118cbd6ca2d7fe6f3e0ff3e8f10659c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a3d6030ecb1d28aa28496531469e614118cbd6ca2d7fe6f3e0ff3e8f10659c7", kill_on_drop: false }` [INFO] [stdout] 8a3d6030ecb1d28aa28496531469e614118cbd6ca2d7fe6f3e0ff3e8f10659c7