[INFO] cloning repository https://github.com/Alec-Sampaleanu/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alec-Sampaleanu/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8db895389500b7c5139c2316ba5bc4296f2eec7 [INFO] checking Alec-Sampaleanu/rlox against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox" "/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/Alec-Sampaleanu/rlox on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alec-Sampaleanu/rlox [INFO] finished tweaking git repo https://github.com/Alec-Sampaleanu/rlox [INFO] tweaked toml for git repo https://github.com/Alec-Sampaleanu/rlox written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Alec-Sampaleanu/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74c27c1a1a2aff2c8fbd83651ebb9f35f34de938281341c5765090cf61b989e9 [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" "74c27c1a1a2aff2c8fbd83651ebb9f35f34de938281341c5765090cf61b989e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74c27c1a1a2aff2c8fbd83651ebb9f35f34de938281341c5765090cf61b989e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74c27c1a1a2aff2c8fbd83651ebb9f35f34de938281341c5765090cf61b989e9", kill_on_drop: false }` [INFO] [stdout] 74c27c1a1a2aff2c8fbd83651ebb9f35f34de938281341c5765090cf61b989e9 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8030a1807b16fda51a073e60ddef63fa5fee529b51eab07fbe90d438a2a62dfb [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" "8030a1807b16fda51a073e60ddef63fa5fee529b51eab07fbe90d438a2a62dfb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking dirs-next v1.0.1 [INFO] [stderr] Checking rustyline v6.2.0 [INFO] [stderr] Checking rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/scanner.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Scanner { [INFO] [stdout] | ^^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chunk::OpCode::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::chunk::OpCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/scanner.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init(source: String) -> Scanner { [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init(source: String) -> Scanner<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> src/scanner.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | impl Scanner { [INFO] [stdout] | ^^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chunk::OpCode::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::chunk::OpCode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/scanner.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init(source: String) -> Scanner { [INFO] [stdout] | ^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 65 | pub fn init(source: String) -> Scanner<'static> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/scanner.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | start: source[0], [INFO] [stdout] | ^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/scanner.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | cur: source[0], [INFO] [stdout] | ^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/scanner.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | start: source[0], [INFO] [stdout] | ^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/scanner.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | cur: source[0], [INFO] [stdout] | ^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rlox` [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: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8030a1807b16fda51a073e60ddef63fa5fee529b51eab07fbe90d438a2a62dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8030a1807b16fda51a073e60ddef63fa5fee529b51eab07fbe90d438a2a62dfb", kill_on_drop: false }` [INFO] [stdout] 8030a1807b16fda51a073e60ddef63fa5fee529b51eab07fbe90d438a2a62dfb