[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] building emk/snappy_framed-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.1.10 [INFO] [stderr] Downloaded snappy v0.2.0 [INFO] [stderr] Downloaded dribble v0.1.0 [INFO] [stderr] Downloaded crc v0.3.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a6567de9193b3c528773351ff2c1dc1414c936b6c68cc6fecb0dbfe79ba73c4 [INFO] running `Command { std: "docker" "start" "-a" "2a6567de9193b3c528773351ff2c1dc1414c936b6c68cc6fecb0dbfe79ba73c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a6567de9193b3c528773351ff2c1dc1414c936b6c68cc6fecb0dbfe79ba73c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6567de9193b3c528773351ff2c1dc1414c936b6c68cc6fecb0dbfe79ba73c4", kill_on_drop: false }` [INFO] [stdout] 2a6567de9193b3c528773351ff2c1dc1414c936b6c68cc6fecb0dbfe79ba73c4 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8a74d3c20b2cf1a8bd503cf9065ec86d5ec7e505a6cbc0eed63ee34c445d729 [INFO] running `Command { std: "docker" "start" "-a" "f8a74d3c20b2cf1a8bd503cf9065ec86d5ec7e505a6cbc0eed63ee34c445d729", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.1.8 [INFO] [stderr] Compiling lazy_static v0.1.10 [INFO] [stderr] Compiling crc v0.3.1 [INFO] [stderr] Compiling snappy v0.2.0 [INFO] [stderr] Compiling log v0.3.1 [INFO] [stderr] Compiling snappy_framed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "f8a74d3c20b2cf1a8bd503cf9065ec86d5ec7e505a6cbc0eed63ee34c445d729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a74d3c20b2cf1a8bd503cf9065ec86d5ec7e505a6cbc0eed63ee34c445d729", kill_on_drop: false }` [INFO] [stdout] f8a74d3c20b2cf1a8bd503cf9065ec86d5ec7e505a6cbc0eed63ee34c445d729 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba023baee866196b4d31a61534bf51008bca74bc6eac2be990bcf617ecb94b82 [INFO] running `Command { std: "docker" "start" "-a" "ba023baee866196b4d31a61534bf51008bca74bc6eac2be990bcf617ecb94b82", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand v0.3.8 [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `log_level` [INFO] [stdout] --> src/read.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | warn!("Snappy chunk of {} bytes required growing buffer", bytes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `log` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `log` may come from an old version of the `log` crate, try updating your dependency with `cargo update -p log` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `log` which comes from the expansion of the macro `warn` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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-1949cf8c6b5b557f/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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rand` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ba023baee866196b4d31a61534bf51008bca74bc6eac2be990bcf617ecb94b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba023baee866196b4d31a61534bf51008bca74bc6eac2be990bcf617ecb94b82", kill_on_drop: false }` [INFO] [stdout] ba023baee866196b4d31a61534bf51008bca74bc6eac2be990bcf617ecb94b82