[INFO] fetching crate lavellang 0.3.0... [INFO] checking lavellang-0.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate lavellang 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate lavellang 0.3.0 [INFO] finished tweaking crates.io crate lavellang 0.3.0 [INFO] tweaked toml for crates.io crate lavellang 0.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lavellang 0.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lavellang 0.3.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0343a488752b8aaf09a7435b5a2f81ab65d4a0c34529174aad74aa60840d9961 [INFO] running `Command { std: "docker" "start" "-a" "0343a488752b8aaf09a7435b5a2f81ab65d4a0c34529174aad74aa60840d9961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0343a488752b8aaf09a7435b5a2f81ab65d4a0c34529174aad74aa60840d9961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0343a488752b8aaf09a7435b5a2f81ab65d4a0c34529174aad74aa60840d9961", kill_on_drop: false }` [INFO] [stdout] 0343a488752b8aaf09a7435b5a2f81ab65d4a0c34529174aad74aa60840d9961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0de081199a7f571e9a2938e4725308837259ecf9c4b84c57c29df04bcdf9b70 [INFO] running `Command { std: "docker" "start" "-a" "d0de081199a7f571e9a2938e4725308837259ecf9c4b84c57c29df04bcdf9b70", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking evalexpr v8.1.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking peek-nth v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v3.2.17 [INFO] [stderr] Checking lexer v0.1.18 [INFO] [stderr] Checking lavellang v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Types` [INFO] [stdout] --> src/ast.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::{Types, Var}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Types` [INFO] [stdout] --> src/ast.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::{Types, Var}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | if let TokenValue::Identifier(value) = list[0].value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | else if let TokenValue::Number(value) = list[0].value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:23:34 [INFO] [stdout] | [INFO] [stdout] 23 | if let TokenValue::Identifier(value) = list[0].value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:85:56 [INFO] [stdout] | [INFO] [stdout] 85 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/ast.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | else if let TokenValue::Number(value) = list[0].value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/ast.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | else if let TokenValue::Char(operator) = current_token.value() {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | else if let TokenValue::List(expr) = current_token.value() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:73:59 [INFO] [stdout] | [INFO] [stdout] 73 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/ast.rs:85:56 [INFO] [stdout] | [INFO] [stdout] 85 | ... if let TokenValue::Number(right) = current_token.value() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/ast.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Err(error) => panic!("error, to be continued...") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/ast.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | else if let TokenValue::Char(operator) = current_token.value() {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/ast.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | else if let TokenValue::List(expr) = current_token.value() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/ast.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Err(error) => panic!("error, to be continued...") [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/parser.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | filename: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Procedure`, `String`, `Number`, and `None` are never constructed [INFO] [stdout] --> src/parser.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | Procedure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `scope`, `name`, and `value` are never read [INFO] [stdout] --> src/parser.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 23 | pub type_: Types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub scope: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ast.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | self.filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ast.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/parser.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | filename: &'a str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | filename: filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Procedure`, `String`, `Number`, and `None` are never constructed [INFO] [stdout] --> src/parser.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Types { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 15 | Procedure, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Types` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `scope`, `name`, and `value` are never read [INFO] [stdout] --> src/parser.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Var { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 23 | pub type_: Types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub scope: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Var` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ast.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | self.filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/ast.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | self.filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/parser.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | filename: filename.clone(), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.24s [INFO] running `Command { std: "docker" "inspect" "d0de081199a7f571e9a2938e4725308837259ecf9c4b84c57c29df04bcdf9b70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0de081199a7f571e9a2938e4725308837259ecf9c4b84c57c29df04bcdf9b70", kill_on_drop: false }` [INFO] [stdout] d0de081199a7f571e9a2938e4725308837259ecf9c4b84c57c29df04bcdf9b70