[INFO] fetching crate bar 0.1.1... [INFO] checking bar-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate bar 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate bar 0.1.1 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 crates.io crate bar 0.1.1 [INFO] finished tweaking crates.io crate bar 0.1.1 [INFO] tweaked toml for crates.io crate bar 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.5.2 (available: v0.11.1) [INFO] [stderr] Adding term v0.2.14 (available: v1.0.0) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding toml v0.1.30 (available: v0.8.19) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [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] Downloading crates ... [INFO] [stderr] Downloaded toml v0.1.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2ee60f65ff614b2194b201224773b9b7d428b94a37fdb3356cb7b82f867d616 [INFO] running `Command { std: "docker" "start" "-a" "d2ee60f65ff614b2194b201224773b9b7d428b94a37fdb3356cb7b82f867d616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2ee60f65ff614b2194b201224773b9b7d428b94a37fdb3356cb7b82f867d616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2ee60f65ff614b2194b201224773b9b7d428b94a37fdb3356cb7b82f867d616", kill_on_drop: false }` [INFO] [stdout] d2ee60f65ff614b2194b201224773b9b7d428b94a37fdb3356cb7b82f867d616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b399de3f2ac4be0bf1a5b914b339f90fb01714f6a421433e761b4e4298969c62 [INFO] running `Command { std: "docker" "start" "-a" "b399de3f2ac4be0bf1a5b914b339f90fb01714f6a421433e761b4e4298969c62", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking term v0.2.14 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking bar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/bar/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/bar/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_syntax, box_patterns)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/bar/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/bar/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let outpipe = try!(output.stdio()); [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/bar/bar.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let bar = try!(Command::new("lemonbar") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let outpipe = try!(output.stdio()); [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/bar/bar.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | let bar = try!(Command::new("lemonbar") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let stdin = try!(bar.stdin.ok_or(Error::new("failed to grab `lemonbar` stdin"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let stdin = try!(bar.stdin.ok_or(Error::new("failed to grab `lemonbar` stdin"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(self.stdin.write_all(b"%{l}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.stdin.write_all(b"%{c}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.stdin.write_all(b"%{r}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(self.stdin.write_all(b"%{l}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | try!(self.stdin.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.stdin.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(self.stdin.write_all(b"%{c}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.stdin.write_all(b"%{r}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | try!(self.stdin.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/bar/bar.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn fmt(&self, &mut Formatter) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(fmt.buf.write(self.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | try!(fmt.write(&*start)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(fmt.write(&self.inner)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | try!(fmt.write(end)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let c = try!(char::from_u32(*self as u32).ok_or(Error::new("internal char error"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.stdin.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Icon` [INFO] [stdout] --> src/bar/data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Icon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(Command::new("bspc") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let outpipe = try!(output.stdio()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | try!(fmt.write(d)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | try!(Command::new("conky") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(self.stdin.write_all(elt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let outpipe = try!(output.stdio()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/bar/bar.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn fmt(&self, &mut Formatter) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Formatter` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | try!(fmt.buf.write(self.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/util/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try!(cfile.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/util/config.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cfile = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | try!(fmt.write(&*start)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(fmt.write(&self.inner)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/bar/pipe.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mipsel` [INFO] [stdout] --> src/bar/pipe.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | target_arch = "mipsel", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"mips"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | try!(fmt.write(end)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/bar.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | let c = try!(char::from_u32(*self as u32).ok_or(Error::new("internal char error"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Icon` [INFO] [stdout] --> src/bar/data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Icon, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(Command::new("bspc") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | let outpipe = try!(output.stdio()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | try!(fmt.write(d)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | try!(Command::new("conky") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/data.rs:230:23 [INFO] [stdout] | [INFO] [stdout] 230 | let outpipe = try!(output.stdio()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bar/util/config.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bar/util/config.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, Clone, RustcDecodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/util/config.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | try!(cfile.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/util/config.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | let mut cfile = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bitrig` [INFO] [stdout] --> src/bar/pipe.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | target_os = "bitrig", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, and `vxworks` and 5 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mipsel` [INFO] [stdout] --> src/bar/pipe.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | target_arch = "mipsel", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"mips"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bar/pipe.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | let new = try!(self.0.dup()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bar/util/config.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(mut path) = env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(associated_consts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_bound` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `btree_range` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/bar/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/bar/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/bar.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | buf: &'a mut (Write+'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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | buf: &'a mut (dyn Write+'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error(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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error(Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bar/util/config.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | } else if let Some(mut path) = env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_consts` has been stable since 1.20.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(associated_consts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_bound` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `btree_range` has been stable since 1.17.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/bar/lib.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/bar/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(collections, collections_bound, btree_range)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> src/bar/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/bar.rs:109:19 [INFO] [stdout] | [INFO] [stdout] 109 | buf: &'a mut (Write+'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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | buf: &'a mut (dyn Write+'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error(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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Error(Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&StdError> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | where E: Into> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&StdError> { [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bar/util/errors.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | where E: Into> [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:65:41 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ^^^^^ ------------------------------------ unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] 65 + for (_, elt) in self.elts.range(Bound::Unbounded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:65:35 [INFO] [stdout] | [INFO] [stdout] 65 | for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] | ^^^^^ ------------------------------------ unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 65 - for (_, elt) in self.elts.range(Bound::Unbounded, Bound::Excluded(&Position::center())) { [INFO] [stdout] 65 + for (_, elt) in self.elts.range(Bound::Unbounded) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:71:41 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | Bound::Excluded(&Position::right())) [INFO] [stdout] | ----------------------------------- unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 71 - for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] 72 - Bound::Excluded(&Position::right())) [INFO] [stdout] 71 + for (_, elt) in self.elts.range(Bound::Included(&Position::center())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | Bound::Excluded(&Position::right())) [INFO] [stdout] | ----------------------------------- unexpected argument #2 of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 71 - for (_, elt) in self.elts.range(Bound::Included(&Position::center()), [INFO] [stdout] 72 - Bound::Excluded(&Position::right())) [INFO] [stdout] 71 + for (_, elt) in self.elts.range(Bound::Included(&Position::center())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&Position>: RangeBounds` is not satisfied [INFO] [stdout] --> src/bar/bar.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&Position>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ^^^^^ ---------------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 79 - for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] 79 + for (_, elt) in self.elts.range(Bound::Included(&Position::right())) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/bar/bar.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] | ^^^^^ ---------------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/btree/map.rs:1205:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 79 - for (_, elt) in self.elts.range(Bound::Included(&Position::right()), Bound::Unbounded) { [INFO] [stdout] 79 + for (_, elt) in self.elts.range(Bound::Included(&Position::right())) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/bar/bar.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let n = self.encode_utf8(&mut utf8).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or` found for mutable reference `&mut str` in the current scope [INFO] [stdout] --> src/bar/bar.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let n = self.encode_utf8(&mut utf8).unwrap_or(0); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bar/util/errors.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bar/util/errors.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bar/util/errors.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bar/util/errors.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | self.0.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term::Terminal` [INFO] [stdout] --> src/bar/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use term::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `term::Terminal` [INFO] [stdout] --> src/bar/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use term::Terminal; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0463, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0463, E0557, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bar` (lib test) due to 18 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bar` (lib) due to 18 previous errors; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b399de3f2ac4be0bf1a5b914b339f90fb01714f6a421433e761b4e4298969c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b399de3f2ac4be0bf1a5b914b339f90fb01714f6a421433e761b4e4298969c62", kill_on_drop: false }` [INFO] [stdout] b399de3f2ac4be0bf1a5b914b339f90fb01714f6a421433e761b4e4298969c62