[INFO] cloning repository https://github.com/DanielMehlber/websorcery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielMehlber/websorcery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMehlber%2Fwebsorcery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMehlber%2Fwebsorcery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 850960765201e1d3a2f197d2f7f1d0ec1a67036a [INFO] checking DanielMehlber/websorcery against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielMehlber%2Fwebsorcery" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielMehlber/websorcery on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielMehlber/websorcery [INFO] finished tweaking git repo https://github.com/DanielMehlber/websorcery [INFO] tweaked toml for git repo https://github.com/DanielMehlber/websorcery written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/DanielMehlber/websorcery already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string-builder v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4420aef42620ef5f94b108dc018feabd2ed69af65ae4a0d86dc934633ca2b59b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4420aef42620ef5f94b108dc018feabd2ed69af65ae4a0d86dc934633ca2b59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4420aef42620ef5f94b108dc018feabd2ed69af65ae4a0d86dc934633ca2b59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4420aef42620ef5f94b108dc018feabd2ed69af65ae4a0d86dc934633ca2b59b", kill_on_drop: false }` [INFO] [stdout] 4420aef42620ef5f94b108dc018feabd2ed69af65ae4a0d86dc934633ca2b59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11f53cca239499ee927bf9502f126a5ba154a7a5201a1a2f712685b3ffc7a61a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "11f53cca239499ee927bf9502f126a5ba154a7a5201a1a2f712685b3ffc7a61a", kill_on_drop: false }` [INFO] [stderr] Checking string-builder v0.2.0 [INFO] [stderr] Checking websorcery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/strings.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/strings.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/compiler/components/scanner.rs:351:31 [INFO] [stdout] | [INFO] [stdout] 351 | WordBegin::InstructionEnd(start) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/compiler/components/scanner.rs:351:31 [INFO] [stdout] | [INFO] [stdout] 351 | WordBegin::InstructionEnd(start) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token<'this>` in public interface (error E0446) [INFO] [stdout] --> src/compiler/components/scanner.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn append(&mut self, tok: Token<'this>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_string` [INFO] [stdout] --> src/strings.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn from_string(s: &'this str, from: usize, to: usize) -> StringView<'this> { [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: `cut` [INFO] [stdout] --> src/strings.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn cut(&'this self) -> &'this str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/strings.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_part` [INFO] [stdout] --> src/strings.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn show_part(&self, from: usize, to: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/strings.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub` [INFO] [stdout] --> src/compiler/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | sub: Option<&'t JsonElement<'t>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/compiler/model.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Json(JsonElement<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Variable` [INFO] [stdout] --> src/compiler/model.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Variable(VariableReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Value` [INFO] [stdout] --> src/compiler/model.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Value(String) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/compiler/model.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | content: Data<'t> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from` [INFO] [stdout] --> src/compiler/model.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | from: Data<'t>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler/model.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | arguments: LinkedList> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/compiler/model.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | content: Data<'t> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `template` [INFO] [stdout] --> src/compiler/model.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | template: Data<'t>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/compiler/model.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | params: LinkedList> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/compiler/model.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Print(PrintOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fetch` [INFO] [stdout] --> src/compiler/model.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Fetch(FetchOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Insert` [INFO] [stdout] --> src/compiler/model.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Insert(InsertOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/compiler/model.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Call(CallOperation<'t>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_variable_by_id` [INFO] [stdout] --> src/compiler/model.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_variable_by_id(&self, id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoreModel` [INFO] [stdout] --> src/compiler/model.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct CoreModel<'t> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/model.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new() -> CoreModel<'t> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMPORT` [INFO] [stdout] --> src/compiler/components/scanner.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | IMPORT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INSERT` [INFO] [stdout] --> src/compiler/components/scanner.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | INSERT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GET` [INFO] [stdout] --> src/compiler/components/scanner.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IF` [INFO] [stdout] --> src/compiler/components/scanner.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | IF, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `END` [INFO] [stdout] --> src/compiler/components/scanner.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | END [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FROM` [INFO] [stdout] --> src/compiler/components/scanner.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | FROM, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AS` [INFO] [stdout] --> src/compiler/components/scanner.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | AS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TO` [INFO] [stdout] --> src/compiler/components/scanner.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | TO, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PARAMS` [INFO] [stdout] --> src/compiler/components/scanner.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | PARAMS [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/components/scanner.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(list: LinkedList>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/compiler/components/scanner.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunctionName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KeyWord` [INFO] [stdout] --> src/compiler/components/scanner.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | KeyWord(KeyWordName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_instruction_word` [INFO] [stdout] --> src/compiler/components/scanner.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_instruction_word<'call>(view: &'call str) -> TokenType<'this> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `word_from_source` [INFO] [stdout] --> src/compiler/components/scanner.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn word_from_source<'call>(view: &'call StringView<'this>) -> Token<'this> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `template` [INFO] [stdout] --> src/compiler/components/scanner.rs:100:2 [INFO] [stdout] | [INFO] [stdout] 100 | template: Template<'this>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OutputComponent` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OutputComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_line` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_line(&mut self, s: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generateOutput` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn generateOutput(&mut self, model: &CoreModel) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn finish(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `warnings` [INFO] [stdout] --> src/compiler/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | warnings: LinkedList [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/strings.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => panic!(s) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => panic!("{}", s) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => std::panic::panic_any(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/strings.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => panic!("{}", err) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generateOutput` should have a snake case name [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn generateOutput(&mut self, model: &CoreModel) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `Token<'this>` in public interface (error E0446) [INFO] [stdout] --> src/compiler/components/scanner.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn append(&mut self, tok: Token<'this>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/strings.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn is_empty(&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: `show_part` [INFO] [stdout] --> src/strings.rs:241:16 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn show_part(&self, from: usize, to: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/strings.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub` [INFO] [stdout] --> src/compiler/model.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | sub: Option<&'t JsonElement<'t>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Json` [INFO] [stdout] --> src/compiler/model.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Json(JsonElement<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Variable` [INFO] [stdout] --> src/compiler/model.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Variable(VariableReference), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Value` [INFO] [stdout] --> src/compiler/model.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Value(String) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/compiler/model.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | content: Data<'t> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from` [INFO] [stdout] --> src/compiler/model.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | from: Data<'t>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/compiler/model.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | arguments: LinkedList> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `content` [INFO] [stdout] --> src/compiler/model.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | content: Data<'t> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `template` [INFO] [stdout] --> src/compiler/model.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | template: Data<'t>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `params` [INFO] [stdout] --> src/compiler/model.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | params: LinkedList> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/compiler/model.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Print(PrintOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Fetch` [INFO] [stdout] --> src/compiler/model.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Fetch(FetchOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Insert` [INFO] [stdout] --> src/compiler/model.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Insert(InsertOperation<'t>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/compiler/model.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Call(CallOperation<'t>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_variable_by_id` [INFO] [stdout] --> src/compiler/model.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn get_variable_by_id(&self, id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CoreModel` [INFO] [stdout] --> src/compiler/model.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct CoreModel<'t> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/model.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new() -> CoreModel<'t> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMPORT` [INFO] [stdout] --> src/compiler/components/scanner.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | IMPORT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `INSERT` [INFO] [stdout] --> src/compiler/components/scanner.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | INSERT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GET` [INFO] [stdout] --> src/compiler/components/scanner.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | GET, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IF` [INFO] [stdout] --> src/compiler/components/scanner.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | IF, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `END` [INFO] [stdout] --> src/compiler/components/scanner.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | END [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FROM` [INFO] [stdout] --> src/compiler/components/scanner.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | FROM, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AS` [INFO] [stdout] --> src/compiler/components/scanner.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | AS, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TO` [INFO] [stdout] --> src/compiler/components/scanner.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | TO, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PARAMS` [INFO] [stdout] --> src/compiler/components/scanner.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | PARAMS [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/components/scanner.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(list: LinkedList>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/compiler/components/scanner.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 32 | Function(FunctionName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KeyWord` [INFO] [stdout] --> src/compiler/components/scanner.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 33 | KeyWord(KeyWordName), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_instruction_word` [INFO] [stdout] --> src/compiler/components/scanner.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn from_instruction_word<'call>(view: &'call str) -> TokenType<'this> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `word_from_source` [INFO] [stdout] --> src/compiler/components/scanner.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn word_from_source<'call>(view: &'call StringView<'this>) -> Token<'this> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `template` [INFO] [stdout] --> src/compiler/components/scanner.rs:100:2 [INFO] [stdout] | [INFO] [stdout] 100 | template: Template<'this>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OutputComponent` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct OutputComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_line` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add_line(&mut self, s: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generateOutput` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn generateOutput(&mut self, model: &CoreModel) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finish` [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn finish(self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `warnings` [INFO] [stdout] --> src/compiler/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | warnings: LinkedList [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/strings.rs:237:34 [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => panic!(s) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => panic!("{}", s) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 237 | Err(s) => std::panic::panic_any(s) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/strings.rs:244:36 [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => panic!(err) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => panic!("{}", err) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 244 | Err(err) => std::panic::panic_any(err) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generateOutput` should have a snake case name [INFO] [stdout] --> src/compiler/components/outputcomponent.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn generateOutput(&mut self, model: &CoreModel) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "11f53cca239499ee927bf9502f126a5ba154a7a5201a1a2f712685b3ffc7a61a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f53cca239499ee927bf9502f126a5ba154a7a5201a1a2f712685b3ffc7a61a", kill_on_drop: false }` [INFO] [stdout] 11f53cca239499ee927bf9502f126a5ba154a7a5201a1a2f712685b3ffc7a61a