[INFO] cloning repository https://github.com/Cinze-Dude/LangLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cinze-Dude/LangLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinze-Dude%2FLangLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinze-Dude%2FLangLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48e6b58daeb503c01bae6a067edf4a625d540021 [INFO] checking Cinze-Dude/LangLang against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCinze-Dude%2FLangLang" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Cinze-Dude/LangLang [INFO] finished tweaking git repo https://github.com/Cinze-Dude/LangLang [INFO] tweaked toml for git repo https://github.com/Cinze-Dude/LangLang written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Cinze-Dude/LangLang on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Cinze-Dude/LangLang 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.150 [INFO] [stderr] Downloaded memchr v2.8.2 [INFO] [stderr] Downloaded regex v1.12.4 [INFO] [stderr] Downloaded syn v2.0.118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca [INFO] running `Command { std: "docker" "start" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.46 [INFO] [stderr] Checking memchr v2.8.2 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking colored v3.1.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking LangLang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `line`, `pos`, and `character` are never read [INFO] [stdout] --> src/frontend/errors.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedCharacter { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 9 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | character: char, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/runtime/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RuntimeError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | UndefinedVariable(String), [INFO] [stdout] 10 | InvalidVariableName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | InvalidVariableTarget(String), [INFO] [stdout] 12 | VariableTargetNameMismatch { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | IndexOutOfBounds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidOperand, [INFO] [stdout] 27 | NotCallable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | UndefinedFunctionName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | ArgumentLengthMismatch { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | [INFO] [stdout] 39 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` 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: fields `id`, `value`, and `used_in` are never read [INFO] [stdout] --> src/runtime/values.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | DynamVariable { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 16 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | value: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | used_in: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` 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: fields `params`, `body`, `closure`, and `rettype` are never read [INFO] [stdout] --> src/runtime/values.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct FunctionValue { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 101 | pub params: Vec<(String, RuntimeType)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | pub body: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub closure: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub rettype: RuntimeType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionValue` 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: fields `0` and `1` are never read [INFO] [stdout] --> src/runtime/values.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | Block(Vec, Rc>), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 203 - Block(Vec, Rc>), [INFO] [stdout] 203 + Block((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/values.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | Func(FunctionValue), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 206 - Func(FunctionValue), [INFO] [stdout] 206 + Func(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NativeFunction` is never constructed [INFO] [stdout] --> src/runtime/values.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub enum RuntimeValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 207 | NativeFunction(FunctionValue), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` 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: fields `line`, `pos`, and `character` are never read [INFO] [stdout] --> src/frontend/errors.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | UnexpectedCharacter { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 9 | line: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | character: char, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/runtime/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum RuntimeError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 9 | UndefinedVariable(String), [INFO] [stdout] 10 | InvalidVariableName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | InvalidVariableTarget(String), [INFO] [stdout] 12 | VariableTargetNameMismatch { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | IndexOutOfBounds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | InvalidOperand, [INFO] [stdout] 27 | NotCallable, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | UndefinedFunctionName(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | ArgumentLengthMismatch { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | [INFO] [stdout] 39 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeError` 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: fields `id`, `value`, and `used_in` are never read [INFO] [stdout] --> src/runtime/values.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | DynamVariable { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 16 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 17 | name: String, [INFO] [stdout] 18 | value: Expr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | used_in: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` 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: fields `params`, `body`, `closure`, and `rettype` are never read [INFO] [stdout] --> src/runtime/values.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct FunctionValue { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 101 | pub params: Vec<(String, RuntimeType)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | pub body: Expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub closure: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 104 | pub rettype: RuntimeType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionValue` 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: fields `0` and `1` are never read [INFO] [stdout] --> src/runtime/values.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | Block(Vec, Rc>), [INFO] [stdout] | ----- ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 203 - Block(Vec, Rc>), [INFO] [stdout] 203 + Block((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/runtime/values.rs:206:10 [INFO] [stdout] | [INFO] [stdout] 206 | Func(FunctionValue), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 206 - Func(FunctionValue), [INFO] [stdout] 206 + Func(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NativeFunction` is never constructed [INFO] [stdout] --> src/runtime/values.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub enum RuntimeValue { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 207 | NativeFunction(FunctionValue), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `serde` [INFO] [stderr] --> Cargo.toml:6:15 [INFO] [stderr] | [INFO] [stderr] 6 | [dependencies.serde] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `serde` [INFO] [stderr] warning: unused dependency `serde_json` [INFO] [stderr] --> Cargo.toml:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | serde_json = "1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `serde_json` [INFO] [stderr] warning: `LangLang` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.81s [INFO] running `Command { std: "docker" "inspect" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca", kill_on_drop: false }` [INFO] [stdout] 52f02318d49f0b2c8c465e7e8aa5e9d27ae6b0747f4dd130c00cfbbb56cc2bca