[INFO] cloning repository https://github.com/ducks/rox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducks/rox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d903f913ca746ffeba40f9ce4ca72378b29d606d [INFO] checking ducks/rox/d903f913ca746ffeba40f9ce4ca72378b29d606d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ducks/rox on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ducks/rox [INFO] finished tweaking git repo https://github.com/ducks/rox [INFO] tweaked toml for git repo https://github.com/ducks/rox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ducks/rox 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded structopt v0.3.13 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.2 [INFO] [stderr] Downloaded version_check v0.9.1 [INFO] [stderr] Downloaded structopt-derive v0.4.6 [INFO] [stderr] Downloaded proc-macro-error v1.0.2 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded hermit-abi v0.1.10 [INFO] [stderr] Downloaded ansi_term v0.11.0 [INFO] [stderr] Downloaded syn-mid v0.5.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95ab71d5397d57a40d2187c6db6c50967efe33171d2cb9fa68ac93a385079d6a [INFO] running `Command { std: "docker" "start" "-a" "95ab71d5397d57a40d2187c6db6c50967efe33171d2cb9fa68ac93a385079d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95ab71d5397d57a40d2187c6db6c50967efe33171d2cb9fa68ac93a385079d6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95ab71d5397d57a40d2187c6db6c50967efe33171d2cb9fa68ac93a385079d6a", kill_on_drop: false }` [INFO] [stdout] 95ab71d5397d57a40d2187c6db6c50967efe33171d2cb9fa68ac93a385079d6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28cddcbdf8235e6365c4fec2e95f314aac1b8a7b490811a7f5537f1c780bbc6a [INFO] running `Command { std: "docker" "start" "-a" "28cddcbdf8235e6365c4fec2e95f314aac1b8a7b490811a7f5537f1c780bbc6a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.6 [INFO] [stderr] Checking structopt v0.3.13 [INFO] [stderr] Checking rox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftParen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | BANG, BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_PAREN` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightParen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | EQUAL, EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LEFT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LeftBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | GREATER, GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RIGHT_BRACE` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `RightBrace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | LESS, LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BANG_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | BANG, BANG_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `BangEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/rox.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use token::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EQUAL_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | EQUAL, EQUAL_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `EqualEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GREATER_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | GREATER, GREATER_EQUAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GreaterEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_EQUAL` should have an upper camel case name [INFO] [stdout] --> src/rox/token.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | LESS, LESS_EQUAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessEqual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `token::Token` [INFO] [stdout] --> src/rox.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use token::Token; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[char]` cannot be known at compilation time [INFO] [stdout] --> src/rox/scanner.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let value = self.chars[ [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[char]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 136 | let value = &self.chars[ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[char]` cannot be known at compilation time [INFO] [stdout] --> src/rox/scanner.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let value = self.chars[ [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[char]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 136 | let value = &self.chars[ [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rox/scanner.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scanner { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ---- ^^^^^ expected type parameter `T`, found `[char]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found slice `[char]` [INFO] [stdout] help: the type constructed contains `[char]` due to the type of the argument passed [INFO] [stdout] --> src/rox/scanner.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rox/scanner.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 20 | impl Scanner { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ---- ^^^^^ expected type parameter `T`, found `[char]` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found slice `[char]` [INFO] [stdout] help: the type constructed contains `[char]` due to the type of the argument passed [INFO] [stdout] --> src/rox/scanner.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/rox.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run(&contents); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `Rox::run` [INFO] [stdout] --> src/rox.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rox::run` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run::(&contents); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rox.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | / loop { [INFO] [stdout] 42 | | print!("> "); [INFO] [stdout] 43 | | let stdin = io::stdin(); [INFO] [stdout] 44 | | io::stdout().flush(); [INFO] [stdout] 45 | | stdin.read_line(&mut input)?; [INFO] [stdout] 46 | | Rox::run(&input); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/rox.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run(&contents); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `Rox::run` [INFO] [stdout] --> src/rox.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rox::run` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run::(&contents); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/rox.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 41 | / loop { [INFO] [stdout] 42 | | print!("> "); [INFO] [stdout] 43 | | let stdin = io::stdin(); [INFO] [stdout] 44 | | io::stdout().flush(); [INFO] [stdout] 45 | | stdin.read_line(&mut input)?; [INFO] [stdout] 46 | | Rox::run(&input); [INFO] [stdout] 47 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 48 | [INFO] [stdout] 49 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/rox.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Rox::run(&input); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `Rox::run` [INFO] [stdout] --> src/rox.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rox::run` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 46 | Rox::run::(&input); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/rox.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Rox::run(&input); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `T` declared on the associated function `run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] note: required by a bound in `Rox::run` [INFO] [stdout] --> src/rox.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Rox::run` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 46 | Rox::run::(&input); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/rox.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut scanner = Scanner::::new(&contents); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut scanner = Scanner::::new(&contents); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanner` [INFO] [stdout] --> src/rox.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut scanner = Scanner::::new(&contents); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rox.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut scanner = Scanner::::new(&contents); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0283, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rox` (bin "rox") due to 5 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rox` (bin "rox" test) due to 5 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "28cddcbdf8235e6365c4fec2e95f314aac1b8a7b490811a7f5537f1c780bbc6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28cddcbdf8235e6365c4fec2e95f314aac1b8a7b490811a7f5537f1c780bbc6a", kill_on_drop: false }` [INFO] [stdout] 28cddcbdf8235e6365c4fec2e95f314aac1b8a7b490811a7f5537f1c780bbc6a