[INFO] cloning repository https://github.com/SomeoneWeird/lingua-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SomeoneWeird/lingua-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomeoneWeird%2Flingua-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomeoneWeird%2Flingua-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b4c664e86e3e75d3a0725ed9e37e4b508b07cab [INFO] testing SomeoneWeird/lingua-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSomeoneWeird%2Flingua-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SomeoneWeird/lingua-rs [INFO] finished tweaking git repo https://github.com/SomeoneWeird/lingua-rs [INFO] tweaked toml for git repo https://github.com/SomeoneWeird/lingua-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SomeoneWeird/lingua-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SomeoneWeird/lingua-rs 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a64cc3b7755c9e87e971defe449f18ed2224c86d2f924e03cc9113c89319e823 [INFO] running `Command { std: "docker" "start" "-a" "a64cc3b7755c9e87e971defe449f18ed2224c86d2f924e03cc9113c89319e823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a64cc3b7755c9e87e971defe449f18ed2224c86d2f924e03cc9113c89319e823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64cc3b7755c9e87e971defe449f18ed2224c86d2f924e03cc9113c89319e823", kill_on_drop: false }` [INFO] [stdout] a64cc3b7755c9e87e971defe449f18ed2224c86d2f924e03cc9113c89319e823 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd9fe070f638f041bac73bc2f8f67061c655c4210f6964aa9cc746db888e9f60 [INFO] running `Command { std: "docker" "start" "-a" "cd9fe070f638f041bac73bc2f8f67061c655c4210f6964aa9cc746db888e9f60", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling lingua-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast/mod.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProgramOpts { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | body: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramOpts` 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: field `value` is never read [INFO] [stdout] --> src/ast/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ValueOpts { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `name` are never read [INFO] [stdout] --> src/ast/mod.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DefinitionOpts { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 15 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinitionOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ReturnOpts { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | value: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/ast/mod.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AssignmentOpts { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | value: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | Program(ProgramOpts), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 32 - Program(ProgramOpts), [INFO] [stdout] 32 + Program(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Definition(DefinitionOpts), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 33 - Definition(DefinitionOpts), [INFO] [stdout] 33 + Definition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Literal(ValueOpts), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 34 - Literal(ValueOpts), [INFO] [stdout] 34 + Literal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | StringLiteral(ValueOpts), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 35 - StringLiteral(ValueOpts), [INFO] [stdout] 35 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Return(ReturnOpts), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 36 - Return(ReturnOpts), [INFO] [stdout] 36 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Assignment(AssignmentOpts) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 37 - Assignment(AssignmentOpts) [INFO] [stdout] 37 + Assignment(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/mod.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 153 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "cd9fe070f638f041bac73bc2f8f67061c655c4210f6964aa9cc746db888e9f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9fe070f638f041bac73bc2f8f67061c655c4210f6964aa9cc746db888e9f60", kill_on_drop: false }` [INFO] [stdout] cd9fe070f638f041bac73bc2f8f67061c655c4210f6964aa9cc746db888e9f60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 340c021cf429e569c090b2dc9335835046185eb36267bbbd31ec0ec1922b0b80 [INFO] running `Command { std: "docker" "start" "-a" "340c021cf429e569c090b2dc9335835046185eb36267bbbd31ec0ec1922b0b80", kill_on_drop: false }` [INFO] [stderr] Compiling lingua-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `body` is never read [INFO] [stdout] --> src/ast/mod.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ProgramOpts { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | body: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProgramOpts` 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: field `value` is never read [INFO] [stdout] --> src/ast/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ValueOpts { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `name` are never read [INFO] [stdout] --> src/ast/mod.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DefinitionOpts { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 15 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DefinitionOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/ast/mod.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ReturnOpts { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 21 | value: Box> [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReturnOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/ast/mod.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct AssignmentOpts { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 26 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | value: Box [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | Program(ProgramOpts), [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 32 - Program(ProgramOpts), [INFO] [stdout] 32 + Program(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | Definition(DefinitionOpts), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 33 - Definition(DefinitionOpts), [INFO] [stdout] 33 + Definition(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | Literal(ValueOpts), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 34 - Literal(ValueOpts), [INFO] [stdout] 34 + Literal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | StringLiteral(ValueOpts), [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 35 - StringLiteral(ValueOpts), [INFO] [stdout] 35 + StringLiteral(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | Return(ReturnOpts), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 36 - Return(ReturnOpts), [INFO] [stdout] 36 + Return(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/mod.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Assignment(AssignmentOpts) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is 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] 37 - Assignment(AssignmentOpts) [INFO] [stdout] 37 + Assignment(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ast/mod.rs:153:24 [INFO] [stdout] | [INFO] [stdout] 153 | Err(e) => panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 153 | Err(e) => panic!("{}", e) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "340c021cf429e569c090b2dc9335835046185eb36267bbbd31ec0ec1922b0b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340c021cf429e569c090b2dc9335835046185eb36267bbbd31ec0ec1922b0b80", kill_on_drop: false }` [INFO] [stdout] 340c021cf429e569c090b2dc9335835046185eb36267bbbd31ec0ec1922b0b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ae88cf7929fcadac26d3471335c2d7727e6c6c860871a1bdf5f79bf1ff5d563 [INFO] running `Command { std: "docker" "start" "-a" "6ae88cf7929fcadac26d3471335c2d7727e6c6c860871a1bdf5f79bf1ff5d563", kill_on_drop: false }` [INFO] [stderr] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(let_chains)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `body` is never read [INFO] [stderr] --> src/ast/mod.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ProgramOpts { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 5 | body: Vec [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ProgramOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/ast/mod.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ValueOpts { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 10 | value: String [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ValueOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `type` and `name` are never read [INFO] [stderr] --> src/ast/mod.rs:15:3 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct DefinitionOpts { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 15 | r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | name: String [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DefinitionOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/ast/mod.rs:21:3 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct ReturnOpts { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 21 | value: Box> [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReturnOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `value` are never read [INFO] [stderr] --> src/ast/mod.rs:26:3 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct AssignmentOpts { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 26 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | value: Box [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AssignmentOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | Program(ProgramOpts), [INFO] [stderr] | ------- ^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 32 - Program(ProgramOpts), [INFO] [stderr] 32 + Program(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:33:14 [INFO] [stderr] | [INFO] [stderr] 33 | Definition(DefinitionOpts), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - Definition(DefinitionOpts), [INFO] [stderr] 33 + Definition(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | Literal(ValueOpts), [INFO] [stderr] | ------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 34 - Literal(ValueOpts), [INFO] [stderr] 34 + Literal(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:35:17 [INFO] [stderr] | [INFO] [stderr] 35 | StringLiteral(ValueOpts), [INFO] [stderr] | ------------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 35 - StringLiteral(ValueOpts), [INFO] [stderr] 35 + StringLiteral(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | Return(ReturnOpts), [INFO] [stderr] | ------ ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 36 - Return(ReturnOpts), [INFO] [stderr] 36 + Return(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ast/mod.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | Assignment(AssignmentOpts) [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 37 - Assignment(AssignmentOpts) [INFO] [stderr] 37 + Assignment(()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ast/mod.rs:153:24 [INFO] [stderr] | [INFO] [stderr] 153 | Err(e) => panic!(e) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 153 | Err(e) => panic!("{}", e) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `lingua-rs` (bin "lingua-rs" test) generated 13 warnings (run `cargo fix --bin "lingua-rs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lingua_rs-d26c50d030a2dd54) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tokeniser::test::test_literal_parsing ... ok [INFO] [stdout] test tokeniser::test::test_single_comment_parsing ... ok [INFO] [stdout] test tokeniser::test::test_string_parsing ... ok [INFO] [stdout] test tokeniser::test::test_mapped_tokens ... ok [INFO] [stdout] test tokeniser::test::test_complex_2 ... ok [INFO] [stdout] test tokeniser::test::test_complex_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ae88cf7929fcadac26d3471335c2d7727e6c6c860871a1bdf5f79bf1ff5d563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae88cf7929fcadac26d3471335c2d7727e6c6c860871a1bdf5f79bf1ff5d563", kill_on_drop: false }` [INFO] [stdout] 6ae88cf7929fcadac26d3471335c2d7727e6c6c860871a1bdf5f79bf1ff5d563