[INFO] fetching crate redux 0.2.0... [INFO] checking redux-0.2.0 against try#4c35efa5bf9c956a3bd39021cc9699d125584977 for pr-104746-1 [INFO] extracting crate redux 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate redux 0.2.0 on toolchain 4c35efa5bf9c956a3bd39021cc9699d125584977 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c35efa5bf9c956a3bd39021cc9699d125584977" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate redux 0.2.0 [INFO] finished tweaking crates.io crate redux 0.2.0 [INFO] tweaked toml for crates.io crate redux 0.2.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c35efa5bf9c956a3bd39021cc9699d125584977" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c35efa5bf9c956a3bd39021cc9699d125584977" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+4c35efa5bf9c956a3bd39021cc9699d125584977" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21b888d10fa52b9874cc12132a0641446e26fd5d0281535ed7f1351ef6f162d0 [INFO] running `Command { std: "docker" "start" "-a" "21b888d10fa52b9874cc12132a0641446e26fd5d0281535ed7f1351ef6f162d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21b888d10fa52b9874cc12132a0641446e26fd5d0281535ed7f1351ef6f162d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b888d10fa52b9874cc12132a0641446e26fd5d0281535ed7f1351ef6f162d0", kill_on_drop: false }` [INFO] [stdout] 21b888d10fa52b9874cc12132a0641446e26fd5d0281535ed7f1351ef6f162d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+4c35efa5bf9c956a3bd39021cc9699d125584977" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca882b370236fbcbc4f017477dea7fad1e858b5a02fbba25c9043fbf3f6ba396 [INFO] running `Command { std: "docker" "start" "-a" "ca882b370236fbcbc4f017477dea7fad1e858b5a02fbba25c9043fbf3f6ba396", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Checking redux v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bitio/mod.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.flush_bits()) [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/codec.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | try!(output.write_bits(if bit { 1 } else { 0 }, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | try!(output.write_bits(if bit { 0 } else { 1 }, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | self.pending = (self.pending << 1) | try!(input.read_bits(1)) as u64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let (low, high) = try!(self.model.get_frequency(symbol)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | try!(self.put_bit(false, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.put_bit(true, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | self.low -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 77 - self.low -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] 77 + self.low -= self.model.parameters().code_one_fourth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:78:29 [INFO] [stdout] | [INFO] [stdout] 78 | self.high -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 78 - self.high -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] 78 + self.high -= self.model.parameters().code_one_fourth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | try!(output.flush_bits()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | try!(self.put_bit(mask != 0, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | try!(self.compress_symbol(symbol, output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/codec.rs:106:48 [INFO] [stdout] | [INFO] [stdout] 106 | let symbol = match input.read_bits({ self.model.parameters().symbol_bits }) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 106 - let symbol = match input.read_bits({ self.model.parameters().symbol_bits }) { [INFO] [stdout] 106 + let symbol = match input.read_bits(self.model.parameters().symbol_bits) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.get_bit(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:132:35 [INFO] [stdout] | [INFO] [stdout] 132 | let (symbol, low, high) = try!(self.model.get_symbol(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(self.get_bit(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | self.pending -= { self.model.parameters().code_half }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 144 - self.pending -= { self.model.parameters().code_half }; [INFO] [stdout] 144 + self.pending -= self.model.parameters().code_half; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | self.low -= { self.model.parameters().code_half }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 145 - self.low -= { self.model.parameters().code_half }; [INFO] [stdout] 145 + self.low -= self.model.parameters().code_half; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | self.high -= { self.model.parameters().code_half }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 146 - self.high -= { self.model.parameters().code_half }; [INFO] [stdout] 146 + self.high -= self.model.parameters().code_half; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | self.pending -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 148 - self.pending -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] 148 + self.pending -= self.model.parameters().code_one_fourth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | self.low -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 149 - self.low -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] 149 + self.low -= self.model.parameters().code_one_fourth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | self.high -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 150 - self.high -= { self.model.parameters().code_one_fourth }; [INFO] [stdout] 150 + self.high -= self.model.parameters().code_one_fourth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | let symbol = try!(self.decompress_symbol(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/codec.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | try!(output.write_bits(symbol, { self.model.parameters().symbol_bits })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/codec.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | try!(output.write_bits(symbol, { self.model.parameters().symbol_bits })); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 171 - try!(output.write_bits(symbol, { self.model.parameters().symbol_bits })); [INFO] [stdout] 171 + try!(output.write_bits(symbol, self.model.parameters().symbol_bits)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | try!(codec.compress_stream(&mut input, &mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | try!(codec.decompress_stream(&mut input, &mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitio/mod.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | input: &'a mut Read, [INFO] [stdout] | ^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 | input: &'a mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitio/mod.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | output: &'a mut Write, [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | output: &'a mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | model: Box, [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | model: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut dyn io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:55 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut io::Read, ostream: &mut dyn io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:77 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | pub fn compress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut dyn io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:57 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut io::Read, ostream: &mut dyn io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | ^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | pub fn decompress(istream: &mut io::Read, ostream: &mut io::Write, model: Box) -> Result<(u64, u64)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitio/mod.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(reader: &'a mut Read) -> BitReader<'a> { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(reader: &'a mut dyn Read) -> BitReader<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bitio/mod.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(writer: &'a mut Write) -> BitWriter<'a> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(writer: &'a mut dyn Write) -> BitWriter<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(m: Box) -> Codec { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(m: Box) -> Codec { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:39:51 [INFO] [stdout] | [INFO] [stdout] 39 | fn put_bit(&mut self, bit: bool, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | fn put_bit(&mut self, bit: bool, output: &mut dyn BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_bit(&mut self, input: &mut BitRead) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn get_bit(&mut self, input: &mut dyn BitRead) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:55:67 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn compress_symbol(&mut self, symbol: usize, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 | pub fn compress_symbol(&mut self, symbol: usize, output: &mut dyn BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:104:51 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn compress_stream(&mut self, input: &mut BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn compress_stream(&mut self, input: &mut dyn BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:104:73 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn compress_stream(&mut self, input: &mut BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn compress_stream(&mut self, input: &mut BitRead, output: &mut dyn BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:123:53 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn decompress_symbol(&mut self, input: &mut BitRead) -> Result { [INFO] [stdout] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | pub fn decompress_symbol(&mut self, input: &mut dyn BitRead) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn decompress_stream(&mut self, input: &mut BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | pub fn decompress_stream(&mut self, input: &mut dyn BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/codec.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn decompress_stream(&mut self, input: &mut BitRead, output: &mut BitWrite) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 | pub fn decompress_stream(&mut self, input: &mut BitRead, output: &mut dyn BitWrite) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model/adaptive_linear.rs:21:38 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(p: Parameters) -> Box { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(p: Parameters) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model/adaptive_tree.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(p: Parameters) -> Box { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(p: Parameters) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let mut input: Box = if options.is_stdin() { [INFO] [stdout] | ^^^^^^^^ [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(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | let mut input: Box = if options.is_stdin() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut output: Box = if options.is_stdout() { [INFO] [stdout] | ^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | let mut output: Box = if options.is_stdout() { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to run custom build command for `libc v0.2.137` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libc-de9ae1dce6a72901/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-changed=build.rs [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] thread 'main' panicked at 'Failed to get rustc version', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/build.rs:9:63 [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x55c1422849c0 - std::backtrace_rs::backtrace::libunwind::trace::h811febcfb6bf351b [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] 1: 0x55c1422849c0 - std::backtrace_rs::backtrace::trace_unsynchronized::h96b741a907b99af4 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] 2: 0x55c1422849c0 - std::sys_common::backtrace::_print_fmt::ha31a53ff87fd209a [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stderr] 3: 0x55c1422849c0 - ::fmt::hf3e583c2438f2a49 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stderr] 4: 0x55c1422a1a3e - core::fmt::write::h5bbd9ad31ca9656a [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/fmt/mod.rs:1208:17 [INFO] [stderr] 5: 0x55c142281f75 - std::io::Write::write_fmt::hd89bca684a701c73 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/io/mod.rs:1682:15 [INFO] [stderr] 6: 0x55c142284785 - std::sys_common::backtrace::_print::h54dbe9f97737135f [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stderr] 7: 0x55c142284785 - std::sys_common::backtrace::print::h0e49378300df2b98 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stderr] 8: 0x55c142285dcf - std::panicking::default_hook::{{closure}}::h3f37edd052a3115b [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:267:22 [INFO] [stderr] 9: 0x55c142285b0a - std::panicking::default_hook::h5d6c18972d08cdf9 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:286:9 [INFO] [stderr] 10: 0x55c1422864cc - std::panicking::rust_panic_with_hook::hc1a5d3b45d0a6122 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:688:13 [INFO] [stderr] 11: 0x55c142286267 - std::panicking::begin_panic_handler::{{closure}}::h874739c08844ff19 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:579:13 [INFO] [stderr] 12: 0x55c142284e6c - std::sys_common::backtrace::__rust_end_short_backtrace::hf48f04738ab9a35b [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stderr] 13: 0x55c142285f82 - rust_begin_unwind [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:575:5 [INFO] [stderr] 14: 0x55c14225e1c3 - core::panicking::panic_fmt::hf1cb23ab679c1d98 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/panicking.rs:65:14 [INFO] [stderr] 15: 0x55c1422a0ce1 - core::panicking::panic_display::h11909d294f7a92c9 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/panicking.rs:138:5 [INFO] [stderr] 16: 0x55c1422a0c8b - core::panicking::panic_str::h4837f1de44eef628 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/panicking.rs:122:5 [INFO] [stderr] 17: 0x55c14225e186 - core::option::expect_failed::h7b3a0cf2e88792c5 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/option.rs:1879:5 [INFO] [stderr] 18: 0x55c142267ae4 - core::option::Option::expect::h9e95dfe7309741a1 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/option.rs:741:21 [INFO] [stderr] 19: 0x55c142262f8e - build_script_build::main::h82b6a350171b4c07 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.137/build.rs:9:41 [INFO] [stderr] 20: 0x55c1422666fb - core::ops::function::FnOnce::call_once::h92153606eb34c109 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/ops/function.rs:507:5 [INFO] [stderr] 21: 0x55c1422673ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h5b6c56c9d73a516b [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stderr] 22: 0x55c142260581 - std::rt::lang_start::{{closure}}::hd6027721825c7f89 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/rt.rs:166:18 [INFO] [stderr] 23: 0x55c14227f31c - core::ops::function::impls:: for &F>::call_once::h5b494a5e5c20b261 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/core/src/ops/function.rs:606:13 [INFO] [stderr] 24: 0x55c14227f31c - std::panicking::try::do_call::h5d51cf8602c16f4a [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:483:40 [INFO] [stderr] 25: 0x55c14227f31c - std::panicking::try::h7fb476dcd351379f [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:447:19 [INFO] [stderr] 26: 0x55c14227f31c - std::panic::catch_unwind::h77a54dd491b33982 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panic.rs:137:14 [INFO] [stderr] 27: 0x55c14227f31c - std::rt::lang_start_internal::{{closure}}::ha93bba2cc6dbac5f [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/rt.rs:148:48 [INFO] [stderr] 28: 0x55c14227f31c - std::panicking::try::do_call::h13be1d7306b0159a [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:483:40 [INFO] [stderr] 29: 0x55c14227f31c - std::panicking::try::heffa9c927f17c3e6 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panicking.rs:447:19 [INFO] [stderr] 30: 0x55c14227f31c - std::panic::catch_unwind::h1126625f5de4482e [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/panic.rs:137:14 [INFO] [stderr] 31: 0x55c14227f31c - std::rt::lang_start_internal::h02f6c396aa452b3b [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/rt.rs:148:20 [INFO] [stderr] 32: 0x55c14226055a - std::rt::lang_start::h5b7b679567341b10 [INFO] [stderr] at /rustc/4c35efa5bf9c956a3bd39021cc9699d125584977/library/std/src/rt.rs:165:17 [INFO] [stderr] 33: 0x55c14226478e - main [INFO] [stderr] 34: 0x7fbd059d9083 - __libc_start_main [INFO] [stderr] 35: 0x55c14225e50e - _start [INFO] [stderr] 36: 0x0 - [INFO] running `Command { std: "docker" "inspect" "ca882b370236fbcbc4f017477dea7fad1e858b5a02fbba25c9043fbf3f6ba396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca882b370236fbcbc4f017477dea7fad1e858b5a02fbba25c9043fbf3f6ba396", kill_on_drop: false }` [INFO] [stdout] ca882b370236fbcbc4f017477dea7fad1e858b5a02fbba25c9043fbf3f6ba396