[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlec-Sampaleanu%2Frlox" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alec-Sampaleanu/rlox on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-3/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 846a35e7d75e622a7e6c111bd0a757fe4fe6dd1a6d17b4df572500d08fbfa19e [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" "846a35e7d75e622a7e6c111bd0a757fe4fe6dd1a6d17b4df572500d08fbfa19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "846a35e7d75e622a7e6c111bd0a757fe4fe6dd1a6d17b4df572500d08fbfa19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "846a35e7d75e622a7e6c111bd0a757fe4fe6dd1a6d17b4df572500d08fbfa19e", kill_on_drop: false }` [INFO] [stdout] 846a35e7d75e622a7e6c111bd0a757fe4fe6dd1a6d17b4df572500d08fbfa19e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a52f89b61eee4e13f6d02dc2f34dc8b93b309a848e206a655043b14450bfccff [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" "a52f89b61eee4e13f6d02dc2f34dc8b93b309a848e206a655043b14450bfccff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [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] 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] 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] [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[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: build failed [INFO] running `Command { std: "docker" "inspect" "a52f89b61eee4e13f6d02dc2f34dc8b93b309a848e206a655043b14450bfccff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52f89b61eee4e13f6d02dc2f34dc8b93b309a848e206a655043b14450bfccff", kill_on_drop: false }` [INFO] [stdout] a52f89b61eee4e13f6d02dc2f34dc8b93b309a848e206a655043b14450bfccff