[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 try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alec-Sampaleanu/rlox on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "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-5/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" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1369ebcb2a8d642f3ee3afee7677bb9eec2b1b71d1a60009ff88d4e81f53d2f [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" "c1369ebcb2a8d642f3ee3afee7677bb9eec2b1b71d1a60009ff88d4e81f53d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1369ebcb2a8d642f3ee3afee7677bb9eec2b1b71d1a60009ff88d4e81f53d2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1369ebcb2a8d642f3ee3afee7677bb9eec2b1b71d1a60009ff88d4e81f53d2f", kill_on_drop: false }` [INFO] [stdout] c1369ebcb2a8d642f3ee3afee7677bb9eec2b1b71d1a60009ff88d4e81f53d2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 129f0ada917c6468a96c247b9b30d781a8c1b0e8f9539b90e850af8e60078ca3 [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" "129f0ada917c6468a96c247b9b30d781a8c1b0e8f9539b90e850af8e60078ca3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking log v0.4.11 [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[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] [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" "129f0ada917c6468a96c247b9b30d781a8c1b0e8f9539b90e850af8e60078ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129f0ada917c6468a96c247b9b30d781a8c1b0e8f9539b90e850af8e60078ca3", kill_on_drop: false }` [INFO] [stdout] 129f0ada917c6468a96c247b9b30d781a8c1b0e8f9539b90e850af8e60078ca3