[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 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ducks/rox on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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/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: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9c7b08fe97797f68d4f2daf2b4067ea55ccaa2b23ae9f425c8848440772a261 [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" "d9c7b08fe97797f68d4f2daf2b4067ea55ccaa2b23ae9f425c8848440772a261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9c7b08fe97797f68d4f2daf2b4067ea55ccaa2b23ae9f425c8848440772a261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c7b08fe97797f68d4f2daf2b4067ea55ccaa2b23ae9f425c8848440772a261", kill_on_drop: false }` [INFO] [stdout] d9c7b08fe97797f68d4f2daf2b4067ea55ccaa2b23ae9f425c8848440772a261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 28d2b2ae8362da0060ca99bdce00a490437672eac903fd76aa7c78a2fe778ac5 [INFO] running `Command { std: "docker" "start" "-a" "28d2b2ae8362da0060ca99bdce00a490437672eac903fd76aa7c78a2fe778ac5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking textwrap v0.11.0 [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 `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 `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] 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 `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 `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[E0283]: type annotations needed [INFO] [stdout] --> src/rox.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run(&contents); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `run` [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | --------------------- required by this bound in `Rox::run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] help: consider specifying the type argument in the function call [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 for type parameter `T` declared on the associated function `run` [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | --------------------- required by this bound in `Rox::run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] help: consider specifying the type argument in the function call [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:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Rox::run(&contents); [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `run` [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | --------------------- required by this bound in `Rox::run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] help: consider specifying the type argument in the function call [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 for type parameter `T` declared on the associated function `run` [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn run(contents: &String) { [INFO] [stdout] | --------------------- required by this bound in `Rox::run` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 46 | Rox::run::(&input); [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] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ^^^^^ expected type parameter `T`, found slice `[char]` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found slice `[char]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 139 | self.add_token(STRING, Some(value)); [INFO] [stdout] | ^^^^^ expected type parameter `T`, found slice `[char]` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found slice `[char]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 10 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: build failed [INFO] running `Command { std: "docker" "inspect" "28d2b2ae8362da0060ca99bdce00a490437672eac903fd76aa7c78a2fe778ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d2b2ae8362da0060ca99bdce00a490437672eac903fd76aa7c78a2fe778ac5", kill_on_drop: false }` [INFO] [stdout] 28d2b2ae8362da0060ca99bdce00a490437672eac903fd76aa7c78a2fe778ac5