[INFO] fetching crate libmount 0.1.15... [INFO] building libmount-0.1.15 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate libmount 0.1.15 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libmount 0.1.15 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libmount 0.1.15 [INFO] finished tweaking crates.io crate libmount 0.1.15 [INFO] tweaked toml for crates.io crate libmount 0.1.15 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate libmount 0.1.15 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dae0426d8f90330e5c16c25610325eea47b53537b22ab97d1df98e81afa8ead [INFO] running `Command { std: "docker" "start" "-a" "7dae0426d8f90330e5c16c25610325eea47b53537b22ab97d1df98e81afa8ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dae0426d8f90330e5c16c25610325eea47b53537b22ab97d1df98e81afa8ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dae0426d8f90330e5c16c25610325eea47b53537b22ab97d1df98e81afa8ead", kill_on_drop: false }` [INFO] [stdout] 7dae0426d8f90330e5c16c25610325eea47b53537b22ab97d1df98e81afa8ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93d6176f07d4a8646081a95f7ffc9a5e62890bc840f2b64d802be7ff0abd01d3 [INFO] running `Command { std: "docker" "start" "-a" "93d6176f07d4a8646081a95f7ffc9a5e62890bc840f2b64d802be7ff0abd01d3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling libmount v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bind.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(Remount::new(OsStr::from_bytes(self.target.as_bytes())) [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/bind.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(write!(fmt, "recursive ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | try!(write!(fmt, "{}bind", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | try!(write!(fmt, "{}ro", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | try!(write!(fmt, "{}nodev", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | try!(write!(fmt, "{}noexec", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(fmt, "{}nosuid", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | try!(write!(fmt, "{}noatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | try!(write!(fmt, "{}nodiratime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | try!(write!(fmt, "{}relatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(fmt, "{}strictatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(fmt, "{}dirsync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | try!(write!(fmt, "{}sync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(write!(fmt, "{}mand", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(write!(fmt, "{} ", self.flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | try!(mountinfo_file.read_to_end(&mut mountinfo_content) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | let mut mpath = try!(current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | let mut mountinfo_file = try!(File::open(mountinfo_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | let (mount_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | let (parent_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let (major, minor, row) = try!(parse_major_minor(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let (root, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let (mount_point, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | let (mount_options, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | let (optional_fields, row) = try!(parse_optional(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let (fstype, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let (mount_source, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | let (super_options, _) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let v = try!(std::str::from_utf8(field).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let v = try!(c_ulong::from_str_radix(v, 10).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | let (major_field, data) = try!(parse_field(data, b":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let (minor_field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (major, _) = try!(parse_int(major_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let (minor, _) = try!(parse_int(minor_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let (field, tail) = try!(parse_field(data, b"- ")); [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Error(Box, io::Error, String); [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] 101 | pub struct Error(Box, io::Error, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [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] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [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] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 50 | fn cause(&self) -> Option<&dyn StdError> { [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/error.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | self.0.description() [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/error.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | self.1.description() [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/remount.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | description(err.description()) [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/mountinfo.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | self.row_num, self.description(), self.row) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tmpfs.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut options = self.format_options(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] running `Command { std: "docker" "inspect" "93d6176f07d4a8646081a95f7ffc9a5e62890bc840f2b64d802be7ff0abd01d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d6176f07d4a8646081a95f7ffc9a5e62890bc840f2b64d802be7ff0abd01d3", kill_on_drop: false }` [INFO] [stdout] 93d6176f07d4a8646081a95f7ffc9a5e62890bc840f2b64d802be7ff0abd01d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2128885e80f3adb1b256c431737212742c226811f0158946e87aa1a7c8b21501 [INFO] running `Command { std: "docker" "start" "-a" "2128885e80f3adb1b256c431737212742c226811f0158946e87aa1a7c8b21501", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bind.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(Remount::new(OsStr::from_bytes(self.target.as_bytes())) [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/bind.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(write!(fmt, "recursive ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | try!(write!(fmt, "{}bind", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | try!(write!(fmt, "{}ro", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | try!(write!(fmt, "{}nodev", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | try!(write!(fmt, "{}noexec", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(fmt, "{}nosuid", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | try!(write!(fmt, "{}noatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | try!(write!(fmt, "{}nodiratime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | try!(write!(fmt, "{}relatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(fmt, "{}strictatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(fmt, "{}dirsync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | try!(write!(fmt, "{}sync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(write!(fmt, "{}mand", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(write!(fmt, "{} ", self.flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | try!(mountinfo_file.read_to_end(&mut mountinfo_content) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | let mut mpath = try!(current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | let mut mountinfo_file = try!(File::open(mountinfo_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | let (mount_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | let (parent_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let (major, minor, row) = try!(parse_major_minor(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let (root, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let (mount_point, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | let (mount_options, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | let (optional_fields, row) = try!(parse_optional(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let (fstype, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let (mount_source, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | let (super_options, _) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let v = try!(std::str::from_utf8(field).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let v = try!(c_ulong::from_str_radix(v, 10).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | let (major_field, data) = try!(parse_field(data, b":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let (minor_field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (major, _) = try!(parse_int(major_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let (minor, _) = try!(parse_int(minor_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let (field, tail) = try!(parse_field(data, b"- ")); [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Error(Box, io::Error, String); [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] 101 | pub struct Error(Box, io::Error, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [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] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [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] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 50 | fn cause(&self) -> Option<&dyn StdError> { [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/error.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | self.0.description() [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/error.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | self.1.description() [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/remount.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | description(err.description()) [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/mountinfo.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | self.row_num, self.description(), self.row) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tmpfs.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut options = self.format_options(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling libmount v0.1.15 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bind.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | try!(Remount::new(OsStr::from_bytes(self.target.as_bytes())) [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/bind.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | try!(write!(fmt, "recursive ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | try!(write!(fmt, "{}bind", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | try!(write!(fmt, "{}ro", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | try!(write!(fmt, "{}nodev", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | try!(write!(fmt, "{}noexec", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(fmt, "{}nosuid", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | try!(write!(fmt, "{}noatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | try!(write!(fmt, "{}nodiratime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | try!(write!(fmt, "{}relatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(fmt, "{}strictatime", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(write!(fmt, "{}dirsync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | try!(write!(fmt, "{}sync", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(write!(fmt, "{}mand", prefix)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | try!(write!(fmt, "{} ", self.flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | try!(mountinfo_file.read_to_end(&mut mountinfo_content) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | let mut mpath = try!(current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/remount.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | let mut mountinfo_file = try!(File::open(mountinfo_path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | let (mount_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | let (parent_id, row) = try!(parse_int(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | let (major, minor, row) = try!(parse_major_minor(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let (root, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | let (mount_point, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | let (mount_options, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | let (optional_fields, row) = try!(parse_optional(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | let (fstype, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:183:31 [INFO] [stdout] | [INFO] [stdout] 183 | let (mount_source, row) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | let (super_options, _) = try!(parse_os_str(row)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:238:25 [INFO] [stdout] | [INFO] [stdout] 238 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | let (field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let v = try!(std::str::from_utf8(field).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | let v = try!(c_ulong::from_str_radix(v, 10).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:259:31 [INFO] [stdout] | [INFO] [stdout] 259 | let (major_field, data) = try!(parse_field(data, b":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:260:31 [INFO] [stdout] | [INFO] [stdout] 260 | let (minor_field, tail) = try!(parse_field(data, b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (major, _) = try!(parse_int(major_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let (minor, _) = try!(parse_int(minor_field)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mountinfo.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | let (field, tail) = try!(parse_field(data, b"- ")); [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / quick_error! { [INFO] [stdout] 50 | | #[derive(Debug)] [INFO] [stdout] 51 | | enum MountError { [INFO] [stdout] 52 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | pub struct OSError(MountError, Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Error(Box, io::Error, String); [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] 101 | pub struct Error(Box, io::Error, String); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [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] 81 | fn from_remount(err: RemountError, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [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] 85 | fn from_nix(err: nix::Error, explain: Box) -> OSError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | 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] 35 | 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/error.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 50 | fn cause(&self) -> Option<&dyn StdError> { [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/error.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | self.0.description() [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/error.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | self.1.description() [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/remount.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | description(err.description()) [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/mountinfo.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | self.row_num, self.description(), self.row) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tmpfs.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let mut options = self.format_options(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "2128885e80f3adb1b256c431737212742c226811f0158946e87aa1a7c8b21501", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2128885e80f3adb1b256c431737212742c226811f0158946e87aa1a7c8b21501", kill_on_drop: false }` [INFO] [stdout] 2128885e80f3adb1b256c431737212742c226811f0158946e87aa1a7c8b21501