[INFO] fetching crate fatr 0.2.0... [INFO] testing fatr-0.2.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate fatr 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate fatr 0.2.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fatr 0.2.0 [INFO] finished tweaking crates.io crate fatr 0.2.0 [INFO] tweaked toml for crates.io crate fatr 0.2.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68896141d2a28ad82f71fd6ffd855ac6e32402e7aab548edf15c8587d219607d [INFO] running `Command { std: "docker" "start" "-a" "68896141d2a28ad82f71fd6ffd855ac6e32402e7aab548edf15c8587d219607d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68896141d2a28ad82f71fd6ffd855ac6e32402e7aab548edf15c8587d219607d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68896141d2a28ad82f71fd6ffd855ac6e32402e7aab548edf15c8587d219607d", kill_on_drop: false }` [INFO] [stdout] 68896141d2a28ad82f71fd6ffd855ac6e32402e7aab548edf15c8587d219607d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 085453903c850e2516318891794943736ba90e8680583d8e74df76d95fa48c18 [INFO] running `Command { std: "docker" "start" "-a" "085453903c850e2516318891794943736ba90e8680583d8e74df76d95fa48c18", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling fatr v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/add.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expect_args!(args, 2); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/add.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | return Err(errorf!("file {} already exists", file_name)); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/commands/add.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(image.write_data_sector(entry_index, &chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/detail.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect_args!(args, 2); [INFO] [stdout] | --------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect_args!(args, 1); [INFO] [stdout] | --------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_exact(&mut image.boot_sector)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(file.read_exact(&mut image.fat_1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(file.read_exact(&mut image.fat_2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(file.read_exact(&mut image.root_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | try!(file.read_exact(&mut image.data_area)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(file.write_all(&self.boot_sector)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(file.write_all(&self.fat_1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.write_all(&self.fat_2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(file.write_all(&self.root_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!(file.write_all(&self.data_area)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(entry.set_filename(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/fat/image.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | return Err(errorf!("sector {} too high to write to", sector)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/fat/root_entry.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | return Err(errorf!("bad filename: \"{}\"", filename)); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | error(errorf!("command \"{}\" not recognized", command)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (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/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn error(err: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn error(err: Box) { [INFO] [stdout] 42 + fn error(err: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/mod.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] 11 + type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/add.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - -> Result<(), Box> [INFO] [stdout] 10 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/detail.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - -> Result<(), Box> [INFO] [stdout] 6 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/list.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - -> Result<(), Box> [INFO] [stdout] 6 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - -> Result> [INFO] [stdout] 48 + -> Result> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - -> Result> [INFO] [stdout] 94 + -> Result> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | -> Result<(RootEntry, u16), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - -> Result<(RootEntry, u16), Box> [INFO] [stdout] 113 + -> Result<(RootEntry, u16), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - -> Result<(), Box> [INFO] [stdout] 127 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - -> Box + 'a> [INFO] [stdout] 140 + -> Box + 'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - -> Result<(), Box> [INFO] [stdout] 178 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/root_entry.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn filename(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn filename(&self) -> Result> { [INFO] [stdout] 40 + pub fn filename(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/root_entry.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - -> Result<(), Box> [INFO] [stdout] 56 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fat/image.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut target_slice = &mut self.data_area[ [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] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/fat/root_entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | reserved: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RootEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fat/root_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "085453903c850e2516318891794943736ba90e8680583d8e74df76d95fa48c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085453903c850e2516318891794943736ba90e8680583d8e74df76d95fa48c18", kill_on_drop: false }` [INFO] [stdout] 085453903c850e2516318891794943736ba90e8680583d8e74df76d95fa48c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec197007cae25bafa957a983293850946e0f3737622c2887f4438bed7d096f90 [INFO] running `Command { std: "docker" "start" "-a" "ec197007cae25bafa957a983293850946e0f3737622c2887f4438bed7d096f90", kill_on_drop: false }` [INFO] [stderr] Compiling fatr v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/add.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | expect_args!(args, 2); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/add.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | return Err(errorf!("file {} already exists", file_name)); [INFO] [stdout] | -------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/commands/add.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(image.write_data_sector(entry_index, &chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/detail.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect_args!(args, 2); [INFO] [stdout] | --------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/commands/list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | expect_args!(args, 1); [INFO] [stdout] | --------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(file.read_exact(&mut image.boot_sector)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | try!(file.read_exact(&mut image.fat_1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(file.read_exact(&mut image.fat_2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | try!(file.read_exact(&mut image.root_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | try!(file.read_exact(&mut image.data_area)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(file.write_all(&self.boot_sector)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!(file.write_all(&self.fat_1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(file.write_all(&self.fat_2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(file.write_all(&self.root_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!(file.write_all(&self.data_area)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fat/image.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(entry.set_filename(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/fat/image.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | return Err(errorf!("sector {} too high to write to", sector)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/fat/root_entry.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | return Err(errorf!("bad filename: \"{}\"", filename)); [INFO] [stdout] | ----------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utils.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | )); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | error(errorf!("command \"{}\" not recognized", command)); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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 #79813 [INFO] [stdout] = note: this warning originates in the macro `errorf` (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/main.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | fn error(err: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn error(err: Box) { [INFO] [stdout] 42 + fn error(err: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/mod.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] 11 + type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/add.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - -> Result<(), Box> [INFO] [stdout] 10 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/detail.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - -> Result<(), Box> [INFO] [stdout] 6 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/commands/list.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - -> Result<(), Box> [INFO] [stdout] 6 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - -> Result> [INFO] [stdout] 48 + -> Result> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | -> Result> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 - -> Result> [INFO] [stdout] 94 + -> Result> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | -> Result<(RootEntry, u16), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - -> Result<(RootEntry, u16), Box> [INFO] [stdout] 113 + -> Result<(RootEntry, u16), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 127 - -> Result<(), Box> [INFO] [stdout] 127 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 - -> Box + 'a> [INFO] [stdout] 140 + -> Box + 'a> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/image.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 - -> Result<(), Box> [INFO] [stdout] 178 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/root_entry.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn filename(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - pub fn filename(&self) -> Result> { [INFO] [stdout] 40 + pub fn filename(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fat/root_entry.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | -> Result<(), Box> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - -> Result<(), Box> [INFO] [stdout] 56 + -> Result<(), Box> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fat/image.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let mut target_slice = &mut self.data_area[ [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] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/fat/root_entry.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | reserved: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RootEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fat/root_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "ec197007cae25bafa957a983293850946e0f3737622c2887f4438bed7d096f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec197007cae25bafa957a983293850946e0f3737622c2887f4438bed7d096f90", kill_on_drop: false }` [INFO] [stdout] ec197007cae25bafa957a983293850946e0f3737622c2887f4438bed7d096f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 376dfc8d002dcb40234ffc260d317e6646f5442bd985fc1ec3405c6918f1c4d5 [INFO] running `Command { std: "docker" "start" "-a" "376dfc8d002dcb40234ffc260d317e6646f5442bd985fc1ec3405c6918f1c4d5", kill_on_drop: false }` [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/commands/add.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | expect_args!(args, 2); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/commands/add.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | return Err(errorf!("file {} already exists", file_name)); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/commands/add.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | try!(image.write_data_sector(entry_index, &chunk)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/commands/detail.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | expect_args!(args, 2); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/commands/list.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | expect_args!(args, 1); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | try!(file.read_exact(&mut image.boot_sector)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | try!(file.read_exact(&mut image.fat_1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(file.read_exact(&mut image.fat_2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | try!(file.read_exact(&mut image.root_dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | try!(file.read_exact(&mut image.data_area)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | try!(file.write_all(&self.boot_sector)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | try!(file.write_all(&self.fat_1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(file.write_all(&self.fat_2)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | try!(file.write_all(&self.root_dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | try!(file.write_all(&self.data_area)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fat/image.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | try!(entry.set_filename(filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/fat/image.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | return Err(errorf!("sector {} too high to write to", sector)); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/fat/root_entry.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | return Err(errorf!("bad filename: \"{}\"", filename)); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/utils.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | )); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | error(errorf!("command \"{}\" not recognized", command)); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `errorf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:42:19 [INFO] [stderr] | [INFO] [stderr] 42 | fn error(err: Box) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 42 - fn error(err: Box) { [INFO] [stderr] 42 + fn error(err: Box) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/commands/mod.rs:11:49 [INFO] [stderr] | [INFO] [stderr] 11 | type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stderr] 11 + type Command = fn (&[String]) -> Result<(), Box>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/commands/add.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - -> Result<(), Box> [INFO] [stderr] 10 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/commands/detail.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - -> Result<(), Box> [INFO] [stderr] 6 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/commands/list.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - -> Result<(), Box> [INFO] [stderr] 6 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:48:30 [INFO] [stderr] | [INFO] [stderr] 48 | -> Result> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - -> Result> [INFO] [stderr] 48 + -> Result> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | -> Result> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 94 - -> Result> [INFO] [stderr] 94 + -> Result> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:113:41 [INFO] [stderr] | [INFO] [stderr] 113 | -> Result<(RootEntry, u16), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 - -> Result<(RootEntry, u16), Box> [INFO] [stderr] 113 + -> Result<(RootEntry, u16), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:127:27 [INFO] [stderr] | [INFO] [stderr] 127 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 127 - -> Result<(), Box> [INFO] [stderr] 127 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:140:16 [INFO] [stderr] | [INFO] [stderr] 140 | -> Box + 'a> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 140 - -> Box + 'a> [INFO] [stderr] 140 + -> Box + 'a> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/image.rs:178:27 [INFO] [stderr] | [INFO] [stderr] 178 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 178 - -> Result<(), Box> [INFO] [stderr] 178 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/root_entry.rs:40:50 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn filename(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - pub fn filename(&self) -> Result> { [INFO] [stderr] 40 + pub fn filename(&self) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/fat/root_entry.rs:56:27 [INFO] [stderr] | [INFO] [stderr] 56 | -> Result<(), Box> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 56 - -> Result<(), Box> [INFO] [stderr] 56 + -> Result<(), Box> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/fat/image.rs:185:13 [INFO] [stderr] | [INFO] [stderr] 185 | let mut target_slice = &mut self.data_area[ [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `reserved` [INFO] [stderr] --> src/fat/root_entry.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | reserved: u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RootEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/fat/root_entry.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fatr` (bin "fatr" test) generated 34 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fatr-f26ecff0ea67cc26) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test fat::image::test_root_entry_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "376dfc8d002dcb40234ffc260d317e6646f5442bd985fc1ec3405c6918f1c4d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "376dfc8d002dcb40234ffc260d317e6646f5442bd985fc1ec3405c6918f1c4d5", kill_on_drop: false }` [INFO] [stdout] 376dfc8d002dcb40234ffc260d317e6646f5442bd985fc1ec3405c6918f1c4d5