[INFO] cloning repository https://github.com/pedroddvo/parapet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedroddvo/parapet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroddvo%2Fparapet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroddvo%2Fparapet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 437ceb43c2ee2562b9fa0ebf939941936c13d8d4 [INFO] checking pedroddvo/parapet against master#e5e4eef02d443eae5089a330e59a69a4f350db81 for pr-106060 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroddvo%2Fparapet" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedroddvo/parapet on toolchain e5e4eef02d443eae5089a330e59a69a4f350db81 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e5e4eef02d443eae5089a330e59a69a4f350db81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedroddvo/parapet [INFO] finished tweaking git repo https://github.com/pedroddvo/parapet [INFO] tweaked toml for git repo https://github.com/pedroddvo/parapet written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/pedroddvo/parapet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e5e4eef02d443eae5089a330e59a69a4f350db81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e4eef02d443eae5089a330e59a69a4f350db81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4541eb0ab8e0f2f2b09529dcccf11e745cf52360e2234f114f06bc1800356ce1 [INFO] running `Command { std: "docker" "start" "-a" "4541eb0ab8e0f2f2b09529dcccf11e745cf52360e2234f114f06bc1800356ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4541eb0ab8e0f2f2b09529dcccf11e745cf52360e2234f114f06bc1800356ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4541eb0ab8e0f2f2b09529dcccf11e745cf52360e2234f114f06bc1800356ce1", kill_on_drop: false }` [INFO] [stdout] 4541eb0ab8e0f2f2b09529dcccf11e745cf52360e2234f114f06bc1800356ce1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:9db6adea6fe108e8475f2314ed6ea91319efc655499b550640da2809d69ffe6a" "/opt/rustwide/cargo-home/bin/cargo" "+e5e4eef02d443eae5089a330e59a69a4f350db81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f078bb7c9eab55ad87ddc20bdeae7290dda09259e172305c28fc87cffb1ba6e4 [INFO] running `Command { std: "docker" "start" "-a" "f078bb7c9eab55ad87ddc20bdeae7290dda09259e172305c28fc87cffb1ba6e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking parapet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ExprType::*` [INFO] [stdout] --> src/lang/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use ExprType::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExprType::*` [INFO] [stdout] --> src/lang/ast.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use ExprType::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lang/ast.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | n => format!("{:?}", n) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lang/ast.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | n => format!("{:?}", n) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_s` [INFO] [stdout] --> src/lang/parser.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let (tok_t, tok_s) = self.peek_eof()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/lang/analyser.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | kind: &DefKind, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tok_s` [INFO] [stdout] --> src/lang/parser.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let (tok_t, tok_s) = self.peek_eof()?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kind` [INFO] [stdout] --> src/lang/analyser.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | kind: &DefKind, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut a = analyser::Analyser::analyse(&src); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut a = analyser::Analyser::analyse(&src); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `msg` are never read [INFO] [stdout] --> src/lang/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ErrorContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | msg: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root` and `context` are never read [INFO] [stdout] --> src/lang/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ErrorBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | root: ErrorContext, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | context: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `context` is never used [INFO] [stdout] --> src/lang/error.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn context(&mut self, msg: &str, span: Span) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/lang/ast.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum DefKind { Constant, Runtime } [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `DefKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UntypedI` is never constructed [INFO] [stdout] --> src/lang/ast.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ExprType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | UntypedI, // not yet inferred type [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_user_defined` is never used [INFO] [stdout] --> src/lang/ast.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_user_defined(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `defined_types` is never read [INFO] [stdout] --> src/lang/analyser.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Analyser<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | defined_types: HashSet<&'a str> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `msg` are never read [INFO] [stdout] --> src/lang/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ErrorContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 5 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | msg: String [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `root` and `context` are never read [INFO] [stdout] --> src/lang/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ErrorBuilder { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | root: ErrorContext, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | context: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `context` is never used [INFO] [stdout] --> src/lang/error.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn context(&mut self, msg: &str, span: Span) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Constant` is never constructed [INFO] [stdout] --> src/lang/ast.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum DefKind { Constant, Runtime } [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `DefKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UntypedI` is never constructed [INFO] [stdout] --> src/lang/ast.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum ExprType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 28 | UntypedI, // not yet inferred type [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExprType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is_user_defined` is never used [INFO] [stdout] --> src/lang/ast.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn is_user_defined(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `defined_types` is never read [INFO] [stdout] --> src/lang/analyser.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Analyser<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | defined_types: HashSet<&'a str> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "f078bb7c9eab55ad87ddc20bdeae7290dda09259e172305c28fc87cffb1ba6e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f078bb7c9eab55ad87ddc20bdeae7290dda09259e172305c28fc87cffb1ba6e4", kill_on_drop: false }` [INFO] [stdout] f078bb7c9eab55ad87ddc20bdeae7290dda09259e172305c28fc87cffb1ba6e4