[INFO] cloning repository https://github.com/thorlucas/lzrs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thorlucas/lzrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorlucas%2Flzrs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorlucas%2Flzrs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 228279bd0f678da1b06a269771f1809dec7fa143
[INFO] checking thorlucas/lzrs against 165655a2f1981fef27b31c547ad7631979fc5139 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorlucas%2Flzrs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/thorlucas/lzrs
[INFO] finished tweaking git repo https://github.com/thorlucas/lzrs
[INFO] tweaked toml for git repo https://github.com/thorlucas/lzrs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/thorlucas/lzrs on toolchain 165655a2f1981fef27b31c547ad7631979fc5139
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/thorlucas/lzrs 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" "+165655a2f1981fef27b31c547ad7631979fc5139" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ryu v1.0.8
[INFO] [stderr]   Downloaded serde v1.0.131
[INFO] [stderr]   Downloaded serde_derive v1.0.131
[INFO] [stderr]   Downloaded tracing-appender v0.2.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.33
[INFO] [stderr]   Downloaded anyhow v1.0.51
[INFO] [stderr]   Downloaded serde_json v1.0.72
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.3
[INFO] [stderr]   Downloaded libc v0.2.110
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf
[INFO] running `Command { std: "docker" "start" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf" "/opt/rustwide/cargo-home/bin/cargo" "+165655a2f1981fef27b31c547ad7631979fc5139" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling libc v0.2.110
[INFO] [stderr]    Compiling proc-macro2 v1.0.33
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling serde v1.0.131
[INFO] [stderr]    Compiling semver v1.0.4
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking ryu v1.0.8
[INFO] [stderr]    Compiling serde_json v1.0.72
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.131
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking sharded-slab v0.1.4
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]    Compiling anyhow v1.0.51
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking lzrs2 v0.1.0 (/opt/rustwide/workdir/lzrs2)
[INFO] [stdout] warning: unused import: `ops`
[INFO] [stdout]  --> lzrs2/src/buffer/ringbuf/mod.rs:6:41
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{cmp, io, marker::PhantomData, ops};
[INFO] [stdout]   |                                         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `ringbuf::RingBuf` cannot be indexed by `usize`
[INFO] [stdout]   --> lzrs2/src/buffer/ringbuf/mod.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Buffer for RingBuf {
[INFO] [stdout]    |                 ^^^^^^^ `ringbuf::RingBuf` cannot be indexed by `usize`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Index<usize>` is not implemented for `ringbuf::RingBuf`
[INFO] [stdout]   --> lzrs2/src/buffer/ringbuf/mod.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct RingBuf {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `buffer::Buffer`
[INFO] [stdout]   --> lzrs2/src/buffer/mod.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait Buffer: ops::Index<usize> {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ required by this bound in `Buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `buffer` in initializer of `Dictionary<B>`
[INFO] [stdout]   --> lzrs2/src/dict.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Self {}
[INFO] [stdout]    |         ^^^^ missing `buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> lzrs2/src/dict.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl<B> Dictionary<B>
[INFO] [stdout]    |         ------------- this is the type of the `Self` literal
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn with_capacity(capacity: usize) {
[INFO] [stdout]    |                                          - help: try adding a return type: `-> Dictionary<B>`
[INFO] [stdout] 12 |         Self {}
[INFO] [stdout]    |         ^^^^^^^ expected `()`, found `Dictionary<B>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected unit type `()`
[INFO] [stdout]                  found struct `Dictionary<B>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lzrs2` (lib) due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf", kill_on_drop: false }`
[INFO] [stdout] 09f000b00570201674de706549e5f8e9c75e3fb1b490456b495a08252a624bcf
