[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [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 af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 215ce68fb0bfe80fbfe1af9b7b7198b862f855ed8cc694b8ef9e275043437183 [INFO] running `Command { std: "docker" "start" "-a" "215ce68fb0bfe80fbfe1af9b7b7198b862f855ed8cc694b8ef9e275043437183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "215ce68fb0bfe80fbfe1af9b7b7198b862f855ed8cc694b8ef9e275043437183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215ce68fb0bfe80fbfe1af9b7b7198b862f855ed8cc694b8ef9e275043437183", kill_on_drop: false }` [INFO] [stdout] 215ce68fb0bfe80fbfe1af9b7b7198b862f855ed8cc694b8ef9e275043437183 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b8d1587befbaf8a8640008f7e37f90e3755be596069e9545ff8057b6717d5c [INFO] running `Command { std: "docker" "start" "-a" "c0b8d1587befbaf8a8640008f7e37f90e3755be596069e9545ff8057b6717d5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling version_check v0.9.1 [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] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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] 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] error: aborting due to 4 previous errors [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 [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 [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 [INFO] running `Command { std: "docker" "inspect" "c0b8d1587befbaf8a8640008f7e37f90e3755be596069e9545ff8057b6717d5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b8d1587befbaf8a8640008f7e37f90e3755be596069e9545ff8057b6717d5c", kill_on_drop: false }` [INFO] [stdout] c0b8d1587befbaf8a8640008f7e37f90e3755be596069e9545ff8057b6717d5c [INFO] checking ducks/rox against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Frox" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ducks/rox on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd1d91d27831f0994d3f72c241e8070abcd193a84c3a5d62ba4c1754be9a2b88 [INFO] running `Command { std: "docker" "start" "-a" "cd1d91d27831f0994d3f72c241e8070abcd193a84c3a5d62ba4c1754be9a2b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd1d91d27831f0994d3f72c241e8070abcd193a84c3a5d62ba4c1754be9a2b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1d91d27831f0994d3f72c241e8070abcd193a84c3a5d62ba4c1754be9a2b88", kill_on_drop: false }` [INFO] [stdout] cd1d91d27831f0994d3f72c241e8070abcd193a84c3a5d62ba4c1754be9a2b88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7f0f9107dd317c66659aded870daae0715602b2644d1dc78b4c05482fae4bab [INFO] running `Command { std: "docker" "start" "-a" "c7f0f9107dd317c66659aded870daae0715602b2644d1dc78b4c05482fae4bab", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "c7f0f9107dd317c66659aded870daae0715602b2644d1dc78b4c05482fae4bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f0f9107dd317c66659aded870daae0715602b2644d1dc78b4c05482fae4bab", kill_on_drop: false }` [INFO] [stdout] c7f0f9107dd317c66659aded870daae0715602b2644d1dc78b4c05482fae4bab