[INFO] cloning repository https://github.com/AntidermisMC/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntidermisMC/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntidermisMC%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntidermisMC%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c74756662b0b6a15dde73a3b2acffa7bb659155f [INFO] checking AntidermisMC/rlox against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntidermisMC%2Frlox" "/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/AntidermisMC/rlox on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AntidermisMC/rlox [INFO] finished tweaking git repo https://github.com/AntidermisMC/rlox [INFO] tweaked toml for git repo https://github.com/AntidermisMC/rlox written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AntidermisMC/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73ac8023517ade2dc227d5f32887c3b98e66886e78c480fe729d0bc88e6b5255 [INFO] running `Command { std: "docker" "start" "-a" "73ac8023517ade2dc227d5f32887c3b98e66886e78c480fe729d0bc88e6b5255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73ac8023517ade2dc227d5f32887c3b98e66886e78c480fe729d0bc88e6b5255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ac8023517ade2dc227d5f32887c3b98e66886e78c480fe729d0bc88e6b5255", kill_on_drop: false }` [INFO] [stdout] 73ac8023517ade2dc227d5f32887c3b98e66886e78c480fe729d0bc88e6b5255 [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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be94f5e936e5d7b0f13d7ff11c133086b86fe92f91e05af2b6154f7a53dab327 [INFO] running `Command { std: "docker" "start" "-a" "be94f5e936e5d7b0f13d7ff11c133086b86fe92f91e05af2b6154f7a53dab327", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Literal` [INFO] [stdout] --> src/ast/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Literal(Literal), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UnaryOperation` [INFO] [stdout] --> src/ast/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | UnaryOperation(Unary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BinaryOperation` [INFO] [stdout] --> src/ast/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | BinaryOperation(Binary), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StringLiteral` [INFO] [stdout] --> src/ast/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | StringLiteral(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NumberLiteral` [INFO] [stdout] --> src/ast/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | NumberLiteral(f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `True` [INFO] [stdout] --> src/ast/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | True, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `False` [INFO] [stdout] --> src/ast/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | False, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nil` [INFO] [stdout] --> src/ast/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Nil, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_one_line` [INFO] [stdout] --> src/code_span.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_one_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lines` [INFO] [stdout] --> src/code_span.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn lines(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_repr` [INFO] [stdout] --> src/code_span.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_repr(&self, source: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unexpected_end_of_file` [INFO] [stdout] --> src/error.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn unexpected_end_of_file(position: Location) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_location` [INFO] [stdout] --> src/location_tracking_iterator.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn peek_location(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_location_2` [INFO] [stdout] --> src/location_tracking_iterator.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn peek_location_2(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_expression` [INFO] [stdout] --> src/parsing/mod.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_expression(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_equality` [INFO] [stdout] --> src/parsing/mod.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_equality(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_comparison` [INFO] [stdout] --> src/parsing/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_comparison(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_term` [INFO] [stdout] --> src/parsing/mod.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn parse_term(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_factor` [INFO] [stdout] --> src/parsing/mod.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn parse_factor(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_unary` [INFO] [stdout] --> src/parsing/mod.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn parse_unary(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_primary` [INFO] [stdout] --> src/parsing/mod.rs:129:4 [INFO] [stdout] | [INFO] [stdout] 129 | fn parse_primary(tokens: &mut TokenStream) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TokenStreamState` [INFO] [stdout] --> src/scanning/token/token_stream.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TokenStreamState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scanning/token/token_stream.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(text: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back` [INFO] [stdout] --> src/scanning/token/token_stream.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn back(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pos` [INFO] [stdout] --> src/scanning/token/token_stream.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_pos(&mut self, pos: Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/scanning/token/token_stream.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn peek(&mut self) -> Option<::Item> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save_position` [INFO] [stdout] --> src/scanning/token/token_stream.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn save_position(&self) -> TokenStreamState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load_position` [INFO] [stdout] --> src/scanning/token/token_stream.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn load_position(&mut self, save: TokenStreamState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_position` [INFO] [stdout] --> src/scanning/token/token_stream.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn current_position(&self) -> Location { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_of_type` [INFO] [stdout] --> src/scanning/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_of_type(&self, token_type: TokenType) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scan_all` [INFO] [stdout] --> src/scanning/mod.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn scan_all(code: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_one_line` [INFO] [stdout] --> src/code_span.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_one_line(&self) -> bool { [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: `lines` [INFO] [stdout] --> src/code_span.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn lines(&self) -> std::ops::Range { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_repr` [INFO] [stdout] --> src/code_span.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_repr(&self, source: Vec<&str>) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "be94f5e936e5d7b0f13d7ff11c133086b86fe92f91e05af2b6154f7a53dab327", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be94f5e936e5d7b0f13d7ff11c133086b86fe92f91e05af2b6154f7a53dab327", kill_on_drop: false }` [INFO] [stdout] be94f5e936e5d7b0f13d7ff11c133086b86fe92f91e05af2b6154f7a53dab327