[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alec-Sampaleanu/rlox on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-10/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5232e1fddc3d41f6e3961aeae1ba55d4463917319b7ce9f5388f99d3030c9e1c [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" "5232e1fddc3d41f6e3961aeae1ba55d4463917319b7ce9f5388f99d3030c9e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5232e1fddc3d41f6e3961aeae1ba55d4463917319b7ce9f5388f99d3030c9e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5232e1fddc3d41f6e3961aeae1ba55d4463917319b7ce9f5388f99d3030c9e1c", kill_on_drop: false }` [INFO] [stdout] 5232e1fddc3d41f6e3961aeae1ba55d4463917319b7ce9f5388f99d3030c9e1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 5243cae52868d7cd3afc52101eb9a7a9684b519573c9db4e8e7c62a8ea16dac6 [INFO] running `Command { std: "docker" "start" "-a" "5243cae52868d7cd3afc52101eb9a7a9684b519573c9db4e8e7c62a8ea16dac6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking dirs-sys-next v0.1.0 [INFO] [stderr] Checking nix v0.17.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: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: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] 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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5243cae52868d7cd3afc52101eb9a7a9684b519573c9db4e8e7c62a8ea16dac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5243cae52868d7cd3afc52101eb9a7a9684b519573c9db4e8e7c62a8ea16dac6", kill_on_drop: false }` [INFO] [stdout] 5243cae52868d7cd3afc52101eb9a7a9684b519573c9db4e8e7c62a8ea16dac6