[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#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ducks/rox on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88a080c4b8f9b2f133965ace6b15f57764dbfe2f5e1993848af488580c644b0b [INFO] running `Command { std: "docker" "start" "-a" "88a080c4b8f9b2f133965ace6b15f57764dbfe2f5e1993848af488580c644b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88a080c4b8f9b2f133965ace6b15f57764dbfe2f5e1993848af488580c644b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a080c4b8f9b2f133965ace6b15f57764dbfe2f5e1993848af488580c644b0b", kill_on_drop: false }` [INFO] [stdout] 88a080c4b8f9b2f133965ace6b15f57764dbfe2f5e1993848af488580c644b0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cfed2276cd6d8a8f7d090696aec0cb52609ad7a23af86fb0d1a26ff66182689 [INFO] running `Command { std: "docker" "start" "-a" "8cfed2276cd6d8a8f7d090696aec0cb52609ad7a23af86fb0d1a26ff66182689", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.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] 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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580: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/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:580: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] 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] 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] 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] 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" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rox` (bin "rox") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8cfed2276cd6d8a8f7d090696aec0cb52609ad7a23af86fb0d1a26ff66182689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cfed2276cd6d8a8f7d090696aec0cb52609ad7a23af86fb0d1a26ff66182689", kill_on_drop: false }` [INFO] [stdout] 8cfed2276cd6d8a8f7d090696aec0cb52609ad7a23af86fb0d1a26ff66182689