[INFO] cloning repository https://github.com/zypeh/topos-frontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zypeh/topos-frontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzypeh%2Ftopos-frontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzypeh%2Ftopos-frontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 047e130c27ad1eeff220bd079f63a3548bec415b [INFO] testing zypeh/topos-frontend against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzypeh%2Ftopos-frontend" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zypeh/topos-frontend on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zypeh/topos-frontend [INFO] finished tweaking git repo https://github.com/zypeh/topos-frontend [INFO] tweaked toml for git repo https://github.com/zypeh/topos-frontend written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/zypeh/topos-frontend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cb52d6e40a392cdaa38981016cc0a867a6a2e0b286b17e2f385819669113cbf [INFO] running `Command { std: "docker" "start" "-a" "4cb52d6e40a392cdaa38981016cc0a867a6a2e0b286b17e2f385819669113cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cb52d6e40a392cdaa38981016cc0a867a6a2e0b286b17e2f385819669113cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cb52d6e40a392cdaa38981016cc0a867a6a2e0b286b17e2f385819669113cbf", kill_on_drop: false }` [INFO] [stdout] 4cb52d6e40a392cdaa38981016cc0a867a6a2e0b286b17e2f385819669113cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66cb6ed9eb8cc1dab6643c57ec09bf72cdeb61b0b2be83da94d99a7136b88acb [INFO] running `Command { std: "docker" "start" "-a" "66cb6ed9eb8cc1dab6643c57ec09bf72cdeb61b0b2be83da94d99a7136b88acb", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling smol_str v0.1.18 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling topos-frontend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/tokenising.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn source(&self) -> &'source str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_offset` [INFO] [stdout] --> src/parsing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn add_offset(&mut self, x: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surrounding_offset` [INFO] [stdout] --> src/parsing.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn surrounding_offset(&mut self, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newline_offset` [INFO] [stdout] --> src/parsing.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn newline_offset(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiple_newline_offset` [INFO] [stdout] --> src/parsing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn multiple_newline_offset(&mut self, n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SourceNode` [INFO] [stdout] --> src/parsing.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SourceNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parsing.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | String(StringNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValueNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [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: `operand` [INFO] [stdout] --> src/parsing.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | operand: IdentifierNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `left` [INFO] [stdout] --> src/parsing.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | left: ValueNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `right` [INFO] [stdout] --> src/parsing.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | right: ValueNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `BinaryOps` [INFO] [stdout] --> src/parsing.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | BinaryOps(BinaryOpsNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone)] [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: `iteration` [INFO] [stdout] --> src/parsing.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | iteration: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, Clone)] [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: `line_col` [INFO] [stdout] --> src/parsing.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | line_col: LineCol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, Clone)] [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: `handle_expression` [INFO] [stdout] --> src/parsing.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn handle_expression(&'a mut self) -> ExpressionNode { [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 9.02s [INFO] running `Command { std: "docker" "inspect" "66cb6ed9eb8cc1dab6643c57ec09bf72cdeb61b0b2be83da94d99a7136b88acb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cb6ed9eb8cc1dab6643c57ec09bf72cdeb61b0b2be83da94d99a7136b88acb", kill_on_drop: false }` [INFO] [stdout] 66cb6ed9eb8cc1dab6643c57ec09bf72cdeb61b0b2be83da94d99a7136b88acb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab04d14b9795d35df39bdb96ca95615e5098d1e8336bfb9a92f915ee9a5fd2f6 [INFO] running `Command { std: "docker" "start" "-a" "ab04d14b9795d35df39bdb96ca95615e5098d1e8336bfb9a92f915ee9a5fd2f6", kill_on_drop: false }` [INFO] [stderr] Compiling topos-frontend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `source` [INFO] [stdout] --> src/tokenising.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn source(&self) -> &'source str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_offset` [INFO] [stdout] --> src/parsing.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn add_offset(&mut self, x: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surrounding_offset` [INFO] [stdout] --> src/parsing.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn surrounding_offset(&mut self, len: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `newline_offset` [INFO] [stdout] --> src/parsing.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn newline_offset(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiple_newline_offset` [INFO] [stdout] --> src/parsing.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn multiple_newline_offset(&mut self, n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SourceNode` [INFO] [stdout] --> src/parsing.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SourceNode<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parsing.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | String(StringNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ValueNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | #[derive(Debug, Clone)] [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: `operand` [INFO] [stdout] --> src/parsing.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | operand: IdentifierNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `left` [INFO] [stdout] --> src/parsing.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | left: ValueNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `right` [INFO] [stdout] --> src/parsing.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | right: ValueNode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Debug, Clone)] [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: `BinaryOps` [INFO] [stdout] --> src/parsing.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | BinaryOps(BinaryOpsNode), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ExpressionNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Clone)] [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: `iteration` [INFO] [stdout] --> src/parsing.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | iteration: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, Clone)] [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: `line_col` [INFO] [stdout] --> src/parsing.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | line_col: LineCol, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/parsing.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Debug, Clone)] [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: `handle_expression` [INFO] [stdout] --> src/parsing.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn handle_expression(&'a mut self) -> ExpressionNode { [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 0.57s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/topos_frontend-0a82b332760868c8) [INFO] running `Command { std: "docker" "inspect" "ab04d14b9795d35df39bdb96ca95615e5098d1e8336bfb9a92f915ee9a5fd2f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab04d14b9795d35df39bdb96ca95615e5098d1e8336bfb9a92f915ee9a5fd2f6", kill_on_drop: false }` [INFO] [stdout] ab04d14b9795d35df39bdb96ca95615e5098d1e8336bfb9a92f915ee9a5fd2f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8763a58924fe3d4a201f26b624ea34a70c588b248814583cce843405025b4a23 [INFO] running `Command { std: "docker" "start" "-a" "8763a58924fe3d4a201f26b624ea34a70c588b248814583cce843405025b4a23", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `source` [INFO] [stderr] --> src/tokenising.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn source(&self) -> &'source str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_offset` [INFO] [stderr] --> src/parsing.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn add_offset(&mut self, x: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `surrounding_offset` [INFO] [stderr] --> src/parsing.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn surrounding_offset(&mut self, len: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `newline_offset` [INFO] [stderr] --> src/parsing.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn newline_offset(&mut self) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `multiple_newline_offset` [INFO] [stderr] --> src/parsing.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn multiple_newline_offset(&mut self, n: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SourceNode` [INFO] [stderr] --> src/parsing.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct SourceNode<'a> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `String` [INFO] [stderr] --> src/parsing.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | String(StringNode), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ValueNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:56:10 [INFO] [stderr] | [INFO] [stderr] 56 | #[derive(Debug, Clone)] [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: `operand` [INFO] [stderr] --> src/parsing.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | operand: IdentifierNode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [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: `left` [INFO] [stderr] --> src/parsing.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | left: ValueNode, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [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: `right` [INFO] [stderr] --> src/parsing.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | right: ValueNode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BinaryOpsNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | #[derive(Debug, Clone)] [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: `BinaryOps` [INFO] [stderr] --> src/parsing.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | BinaryOps(BinaryOpsNode), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ExpressionNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:82:10 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Clone)] [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: `iteration` [INFO] [stderr] --> src/parsing.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | iteration: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Debug, Clone)] [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: `line_col` [INFO] [stderr] --> src/parsing.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | line_col: LineCol, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Parser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/parsing.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Debug, Clone)] [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: `handle_expression` [INFO] [stderr] --> src/parsing.rs:183:8 [INFO] [stderr] | [INFO] [stderr] 183 | fn handle_expression(&'a mut self) -> ExpressionNode { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `topos-frontend` (bin "topos-frontend" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/topos_frontend-0a82b332760868c8) [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" "8763a58924fe3d4a201f26b624ea34a70c588b248814583cce843405025b4a23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8763a58924fe3d4a201f26b624ea34a70c588b248814583cce843405025b4a23", kill_on_drop: false }` [INFO] [stdout] 8763a58924fe3d4a201f26b624ea34a70c588b248814583cce843405025b4a23