[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 master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBliztle%2Fpaf-lang" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bliztle/paf-lang on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-tc1/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 102376f98d2a47b30ae102ecba70108193b83edfd57f64076ea28d99b6d721e3 [INFO] running `Command { std: "docker" "start" "-a" "102376f98d2a47b30ae102ecba70108193b83edfd57f64076ea28d99b6d721e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "102376f98d2a47b30ae102ecba70108193b83edfd57f64076ea28d99b6d721e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "102376f98d2a47b30ae102ecba70108193b83edfd57f64076ea28d99b6d721e3", kill_on_drop: false }` [INFO] [stdout] 102376f98d2a47b30ae102ecba70108193b83edfd57f64076ea28d99b6d721e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b10a886d56966380a5f9f0b516346b6e2d9d3297f1a4099cf6d194f626af14d [INFO] running `Command { std: "docker" "start" "-a" "9b10a886d56966380a5f9f0b516346b6e2d9d3297f1a4099cf6d194f626af14d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking anstyle-parse v0.2.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: 11 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.60s [INFO] running `Command { std: "docker" "inspect" "9b10a886d56966380a5f9f0b516346b6e2d9d3297f1a4099cf6d194f626af14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b10a886d56966380a5f9f0b516346b6e2d9d3297f1a4099cf6d194f626af14d", kill_on_drop: false }` [INFO] [stdout] 9b10a886d56966380a5f9f0b516346b6e2d9d3297f1a4099cf6d194f626af14d