[INFO] fetching crate bar 0.1.1... [INFO] checking bar-0.1.1 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate bar 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate bar 0.1.1 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding docopt v0.6.86 (latest: v1.1.1) [INFO] [stderr] Adding lazy_static v0.2.11 (latest: v1.4.0) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding strsim v0.5.2 (latest: v0.11.0) [INFO] [stderr] Adding term v0.2.14 (latest: v0.7.0) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.1.30 (latest: v0.8.12) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread-id v2.0.0 [INFO] [stderr] Downloaded utf8-ranges v0.1.3 [INFO] [stderr] Downloaded thread_local v0.2.7 [INFO] [stderr] Downloaded memchr v0.1.11 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded term v0.2.14 [INFO] [stderr] Downloaded toml v0.1.30 [INFO] [stderr] Downloaded regex-syntax v0.3.9 [INFO] [stderr] Downloaded aho-corasick v0.5.3 [INFO] [stderr] Downloaded regex v0.1.80 [INFO] [stderr] Downloaded docopt v0.6.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2b62e2344b3750015f48b173270845a37ca87777f7632af07d6f8cde302751d [INFO] running `Command { std: "docker" "start" "-a" "c2b62e2344b3750015f48b173270845a37ca87777f7632af07d6f8cde302751d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2b62e2344b3750015f48b173270845a37ca87777f7632af07d6f8cde302751d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2b62e2344b3750015f48b173270845a37ca87777f7632af07d6f8cde302751d", kill_on_drop: false }` [INFO] [stdout] c2b62e2344b3750015f48b173270845a37ca87777f7632af07d6f8cde302751d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14560ebad035c46dd65c9294991ef1cb1446b38d7eff4295b20224621871549a [INFO] running `Command { std: "docker" "start" "-a" "14560ebad035c46dd65c9294991ef1cb1446b38d7eff4295b20224621871549a", kill_on_drop: false }` [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 rustc-serialize v0.3.25 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking lazy_static v0.2.11 [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: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] 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: the item `toml` is imported redundantly [INFO] [stdout] --> src/bar/util/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [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: the item `libc` is imported redundantly [INFO] [stdout] --> src/bar/pipe.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [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: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] 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: the item `toml` is imported redundantly [INFO] [stdout] --> src/bar/util/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use toml; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate toml; [INFO] [stdout] | ------------------ the item `toml` is already imported here [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: the item `libc` is imported redundantly [INFO] [stdout] --> src/bar/pipe.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bar/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate libc; [INFO] [stdout] | ------------------ the item `libc` is already imported here [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] 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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:5 [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[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] | ^^^^^ -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Bound<&Position>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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] | | ----------------------------------- [INFO] [stdout] | |_________________________________________|_________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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] | ^^^^^ ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Bound<_>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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] | ^^^^^ -------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Bound<&Position>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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] | | ----------------------------------- [INFO] [stdout] | |_________________________________________|_________________________________| [INFO] [stdout] | | help: remove the extra argument [INFO] [stdout] | unexpected argument of type `Bound<&Position>` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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] | ^^^^^ ------------------ [INFO] [stdout] | | | [INFO] [stdout] | | unexpected argument of type `Bound<_>` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/collections/btree/map.rs:1205:12 [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[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: 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: 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] 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] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bar` (lib) due to 18 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] running `Command { std: "docker" "inspect" "14560ebad035c46dd65c9294991ef1cb1446b38d7eff4295b20224621871549a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14560ebad035c46dd65c9294991ef1cb1446b38d7eff4295b20224621871549a", kill_on_drop: false }` [INFO] [stdout] 14560ebad035c46dd65c9294991ef1cb1446b38d7eff4295b20224621871549a [INFO] checking bar-0.1.1 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate bar 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate bar 0.1.1 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bdd9c4a83bb6ad6616e1f6bf9875b4883a966cf22cc0538eb25cf03dbd8e2d4 [INFO] running `Command { std: "docker" "start" "-a" "0bdd9c4a83bb6ad6616e1f6bf9875b4883a966cf22cc0538eb25cf03dbd8e2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bdd9c4a83bb6ad6616e1f6bf9875b4883a966cf22cc0538eb25cf03dbd8e2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bdd9c4a83bb6ad6616e1f6bf9875b4883a966cf22cc0538eb25cf03dbd8e2d4", kill_on_drop: false }` [INFO] [stdout] 0bdd9c4a83bb6ad6616e1f6bf9875b4883a966cf22cc0538eb25cf03dbd8e2d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9118596d80431e5c68cdcef750c90be7e6b55c9ff58a71f9d967017b4a01b708 [INFO] running `Command { std: "docker" "start" "-a" "9118596d80431e5c68cdcef750c90be7e6b55c9ff58a71f9d967017b4a01b708", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "9118596d80431e5c68cdcef750c90be7e6b55c9ff58a71f9d967017b4a01b708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9118596d80431e5c68cdcef750c90be7e6b55c9ff58a71f9d967017b4a01b708", kill_on_drop: false }` [INFO] [stdout] 9118596d80431e5c68cdcef750c90be7e6b55c9ff58a71f9d967017b4a01b708