[INFO] cloning repository https://github.com/emk/snappy_framed-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emk/snappy_framed-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fsnappy_framed-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fsnappy_framed-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be6a886b52ecb23aff7d3b048f1445cba26ce9c2 [INFO] checking emk/snappy_framed-rs/be6a886b52ecb23aff7d3b048f1445cba26ce9c2 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femk%2Fsnappy_framed-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emk/snappy_framed-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emk/snappy_framed-rs [INFO] finished tweaking git repo https://github.com/emk/snappy_framed-rs [INFO] tweaked toml for git repo https://github.com/emk/snappy_framed-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emk/snappy_framed-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.3.1 [INFO] [stderr] Downloaded rand v0.3.8 [INFO] [stderr] Downloaded snappy v0.2.0 [INFO] [stderr] Downloaded dribble v0.1.0 [INFO] [stderr] Downloaded crc v0.3.1 [INFO] [stderr] Downloaded lazy_static v0.1.10 [INFO] [stderr] Downloaded libc v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8c65da2b459cd17d61dbfe015f6bbecbdc769b84527c479fc232e0ea545779d [INFO] running `Command { std: "docker" "start" "-a" "f8c65da2b459cd17d61dbfe015f6bbecbdc769b84527c479fc232e0ea545779d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8c65da2b459cd17d61dbfe015f6bbecbdc769b84527c479fc232e0ea545779d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c65da2b459cd17d61dbfe015f6bbecbdc769b84527c479fc232e0ea545779d", kill_on_drop: false }` [INFO] [stdout] f8c65da2b459cd17d61dbfe015f6bbecbdc769b84527c479fc232e0ea545779d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b46ea9c2086a9f3dfa30bab1c1033ef64dcb9b336505608c09cd21abc2e1af9 [INFO] running `Command { std: "docker" "start" "-a" "1b46ea9c2086a9f3dfa30bab1c1033ef64dcb9b336505608c09cd21abc2e1af9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.1.8 [INFO] [stderr] Checking lazy_static v0.1.10 [INFO] [stderr] Checking crc v0.3.1 [INFO] [stderr] Checking rand v0.3.8 [INFO] [stderr] Checking log v0.3.1 [INFO] [stderr] Checking snappy v0.2.0 [INFO] [stderr] Checking snappy_framed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:83:50 [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Range` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 83 | fn construct_range(low: Self, high: Self) -> Range where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] note: required by an implicit `Sized` bound in `range::Range` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ required by the implicit `Sized` requirement on this type parameter in `Range` [INFO] [stdout] help: you could relax the implicit `Sized` bound on `X` if it were used through indirection like `&X` or `Box` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand-0.3.8/src/distributions/range.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Range { [INFO] [stdout] | ^ this could be changed to `X: ?Sized`... [INFO] [stdout] 51 | low: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 52 | range: X, [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] 53 | accept_zone: X [INFO] [stdout] | - ...if indirection were used here: `Box` [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 87 | fn sample_range(r: &Range, rng: &mut R) -> Self where Self: Sized; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | try!(source.read(space)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | match try!(self.ensure_buffered(HEADER_SIZE, source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let data = try!(self.ensure_buffered(chunk_len, source)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | match try!(self.input.next_chunk(&mut self.source)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:174:43 [INFO] [stdout] | [INFO] [stdout] 174 | ... let crc = try!(chunk.crc()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:179:37 [INFO] [stdout] | [INFO] [stdout] 179 | ... try!(check_crc(crc, &data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | ... let crc = try!(chunk.crc()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:192:37 [INFO] [stdout] | [INFO] [stdout] 192 | ... try!(check_crc(crc, &data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | ... 0x02...0x7F => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/read.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | ... 0x80...0xFD => {} [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | try!(encoder.write_header()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.dest.write_all(&STREAM_IDENTIFIER)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | try!(self.dest.write_all(&header_and_crc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.dest.write_all(&compressed)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/read.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 206 | ... _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/read.rs:206:29 [INFO] [stdout] | [INFO] [stdout] 171 | ... 0x00 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 186 | ... 0x01 => { [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 199 | ... 0x02...0x7F => {} [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 200 | ... // Reserved skippable chunks. [INFO] [stdout] 201 | ... 0x80...0xFD => {} [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 206 | ... _ => unreachable!() [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1b46ea9c2086a9f3dfa30bab1c1033ef64dcb9b336505608c09cd21abc2e1af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b46ea9c2086a9f3dfa30bab1c1033ef64dcb9b336505608c09cd21abc2e1af9", kill_on_drop: false }` [INFO] [stdout] 1b46ea9c2086a9f3dfa30bab1c1033ef64dcb9b336505608c09cd21abc2e1af9