[INFO] fetching crate bar 0.1.1... [INFO] testing bar-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bar 0.1.1 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bar 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.6.86 (available: v1.1.1) [INFO] [stderr] Adding term v0.2.14 (available: v1.0.2) [INFO] [stderr] Adding toml v0.1.30 (available: v0.8.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Downloading crates ... [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded term v0.2.14 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] [stderr] Downloaded toml v0.1.30 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1633a9bccd17990a79ab3eaa1883e6b0b3eeb4b2be8e128a2a1f5451a3fd3fe [INFO] running `Command { std: "docker" "start" "-a" "a1633a9bccd17990a79ab3eaa1883e6b0b3eeb4b2be8e128a2a1f5451a3fd3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1633a9bccd17990a79ab3eaa1883e6b0b3eeb4b2be8e128a2a1f5451a3fd3fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1633a9bccd17990a79ab3eaa1883e6b0b3eeb4b2be8e128a2a1f5451a3fd3fe", kill_on_drop: false }` [INFO] [stdout] a1633a9bccd17990a79ab3eaa1883e6b0b3eeb4b2be8e128a2a1f5451a3fd3fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d2c558ca75f899d3d18978a5d4bd154899efc7378b33868c6179424e9cfea2d [INFO] running `Command { std: "docker" "start" "-a" "1d2c558ca75f899d3d18978a5d4bd154899efc7378b33868c6179424e9cfea2d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling 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: removed in 1.70.0 (you are using 1.89.0-nightly (8de4c7234 2025-06-19)); see for more information [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: cannot find derive macro `RustcDecodable` in this scope [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: cannot find derive macro `RustcDecodable` in this scope [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: cannot find derive macro `RustcDecodable` in this scope [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/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: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: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: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:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(self.stdin.write_all(elt)); [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: 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] 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`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, and `uefi` and 9 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`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/bar/pipe.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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 a dyn-compatible 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/collections/btree/map.rs:1244: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] 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] error[E0277]: the trait bound `config::Config: Decodable` is not satisfied [INFO] [stdout] --> src/bar/util/config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | toml::decode_str(&buf).ok_or(Error::new("config parse error")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `config::Config` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `decode_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/toml-0.1.30/src/decoder/mod.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn decode_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `decode_str` [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] 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) due to 15 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1d2c558ca75f899d3d18978a5d4bd154899efc7378b33868c6179424e9cfea2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2c558ca75f899d3d18978a5d4bd154899efc7378b33868c6179424e9cfea2d", kill_on_drop: false }` [INFO] [stdout] 1d2c558ca75f899d3d18978a5d4bd154899efc7378b33868c6179424e9cfea2d