[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] testing pedroddvo/parapet against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedroddvo%2Fparapet" "/workspace/builds/worker-118/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-118/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedroddvo/parapet on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-118/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bc97e0f4b2e8e0ff8778a7326357bfbbfd9c83cebfa9d669fb5e5fcc2a762ff [INFO] running `Command { std: "docker" "start" "-a" "5bc97e0f4b2e8e0ff8778a7326357bfbbfd9c83cebfa9d669fb5e5fcc2a762ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bc97e0f4b2e8e0ff8778a7326357bfbbfd9c83cebfa9d669fb5e5fcc2a762ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc97e0f4b2e8e0ff8778a7326357bfbbfd9c83cebfa9d669fb5e5fcc2a762ff", kill_on_drop: false }` [INFO] [stdout] 5bc97e0f4b2e8e0ff8778a7326357bfbbfd9c83cebfa9d669fb5e5fcc2a762ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e902ee29ccb1dd1d03c570802272593cf56b87f118fc8867addbd85e391533aa [INFO] running `Command { std: "docker" "start" "-a" "e902ee29ccb1dd1d03c570802272593cf56b87f118fc8867addbd85e391533aa", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling 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: 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: 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: field is never read: `span` [INFO] [stdout] --> src/lang/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lang/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/lang/error.rs:6:5 [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] --> src/lang/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/lang/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | root: ErrorContext, [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] --> src/lang/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/lang/error.rs:12:5 [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] --> src/lang/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [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 is never constructed: `Constant` [INFO] [stdout] --> src/lang/ast.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum DefKind { Constant, Runtime } [INFO] [stdout] | ^^^^^^^^ [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] --> src/lang/ast.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UntypedI` [INFO] [stdout] --> src/lang/ast.rs:28:3 [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] --> src/lang/ast.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_user_defined` [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 is never read: `defined_types` [INFO] [stdout] --> src/lang/analyser.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | defined_types: HashSet<&'a str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.33s [INFO] running `Command { std: "docker" "inspect" "e902ee29ccb1dd1d03c570802272593cf56b87f118fc8867addbd85e391533aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e902ee29ccb1dd1d03c570802272593cf56b87f118fc8867addbd85e391533aa", kill_on_drop: false }` [INFO] [stdout] e902ee29ccb1dd1d03c570802272593cf56b87f118fc8867addbd85e391533aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 308e94f790ed895f0b69238c42e51efbf783bb16bbccd9f1390a0547d5acbaf9 [INFO] running `Command { std: "docker" "start" "-a" "308e94f790ed895f0b69238c42e51efbf783bb16bbccd9f1390a0547d5acbaf9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: 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: 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: field is never read: `span` [INFO] [stdout] --> src/lang/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | span: Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lang/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `msg` [INFO] [stdout] --> src/lang/error.rs:6:5 [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] --> src/lang/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `root` [INFO] [stdout] --> src/lang/error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | root: ErrorContext, [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] --> src/lang/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `context` [INFO] [stdout] --> src/lang/error.rs:12:5 [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] --> src/lang/error.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `context` [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 is never constructed: `Constant` [INFO] [stdout] --> src/lang/ast.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum DefKind { Constant, Runtime } [INFO] [stdout] | ^^^^^^^^ [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] --> src/lang/ast.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UntypedI` [INFO] [stdout] --> src/lang/ast.rs:28:3 [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] --> src/lang/ast.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_user_defined` [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 is never read: `defined_types` [INFO] [stdout] --> src/lang/analyser.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | defined_types: HashSet<&'a str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "308e94f790ed895f0b69238c42e51efbf783bb16bbccd9f1390a0547d5acbaf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308e94f790ed895f0b69238c42e51efbf783bb16bbccd9f1390a0547d5acbaf9", kill_on_drop: false }` [INFO] [stdout] 308e94f790ed895f0b69238c42e51efbf783bb16bbccd9f1390a0547d5acbaf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-118/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4312de6532b43b1ca8dfc6a2877fbdd563c6ef98fb40848e9220f0b4062b10e1 [INFO] running `Command { std: "docker" "start" "-a" "4312de6532b43b1ca8dfc6a2877fbdd563c6ef98fb40848e9220f0b4062b10e1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ExprType::*` [INFO] [stderr] --> src/lang/ast.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | use ExprType::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/lang/ast.rs:124:7 [INFO] [stderr] | [INFO] [stderr] 124 | n => format!("{:?}", n) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tok_s` [INFO] [stderr] --> src/lang/parser.rs:217:17 [INFO] [stderr] | [INFO] [stderr] 217 | let (tok_t, tok_s) = self.peek_eof()?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tok_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kind` [INFO] [stderr] --> src/lang/analyser.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | kind: &DefKind, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_kind` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut a = analyser::Analyser::analyse(&src); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `span` [INFO] [stderr] --> src/lang/error.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | span: Span, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/error.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `msg` [INFO] [stderr] --> src/lang/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | msg: String [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/error.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `root` [INFO] [stderr] --> src/lang/error.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | root: ErrorContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/error.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `context` [INFO] [stderr] --> src/lang/error.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | context: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/error.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `context` [INFO] [stderr] --> src/lang/error.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn context(&mut self, msg: &str, span: Span) -> &mut Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Constant` [INFO] [stderr] --> src/lang/ast.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum DefKind { Constant, Runtime } [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DefKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/ast.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `UntypedI` [INFO] [stderr] --> src/lang/ast.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | UntypedI, // not yet inferred type [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExprType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/lang/ast.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Clone, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_user_defined` [INFO] [stderr] --> src/lang/ast.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn is_user_defined(&self) -> Option<&String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `defined_types` [INFO] [stderr] --> src/lang/analyser.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | defined_types: HashSet<&'a str> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `parapet` (bin "parapet" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/parapet-c3e79dcde1aa4820) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4312de6532b43b1ca8dfc6a2877fbdd563c6ef98fb40848e9220f0b4062b10e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4312de6532b43b1ca8dfc6a2877fbdd563c6ef98fb40848e9220f0b4062b10e1", kill_on_drop: false }` [INFO] [stdout] 4312de6532b43b1ca8dfc6a2877fbdd563c6ef98fb40848e9220f0b4062b10e1