[INFO] fetching crate dam 0.1.3... [INFO] checking dam-0.1.3 against try#1463461488056994d1b84e8b752e7c11c7fae7aa for pr-154205 [INFO] extracting crate dam 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dam 0.1.3 [INFO] finished tweaking crates.io crate dam 0.1.3 [INFO] tweaked toml for crates.io crate dam 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dam 0.1.3 on toolchain 1463461488056994d1b84e8b752e7c11c7fae7aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.6.0) [INFO] [stderr] Adding open v1.7.1 (available: v5.3.3) [INFO] [stderr] Adding rexif v0.3.7 (available: v0.7.5) [INFO] [stderr] Adding rusqlite v0.16.0 (available: v0.39.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0379d44680deff5ddcb573691135597d95d6badd36fd077e070e41c3da6f3fe7 [INFO] running `Command { std: "docker" "start" "-a" "0379d44680deff5ddcb573691135597d95d6badd36fd077e070e41c3da6f3fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0379d44680deff5ddcb573691135597d95d6badd36fd077e070e41c3da6f3fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0379d44680deff5ddcb573691135597d95d6badd36fd077e070e41c3da6f3fe7", kill_on_drop: false }` [INFO] [stdout] 0379d44680deff5ddcb573691135597d95d6badd36fd077e070e41c3da6f3fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1463461488056994d1b84e8b752e7c11c7fae7aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00be63e2b2877e787fb7e1e4c64698e21163ad3740fa02bf08491d316eb80004 [INFO] running `Command { std: "docker" "start" "-a" "00be63e2b2877e787fb7e1e4c64698e21163ad3740fa02bf08491d316eb80004", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling libsqlite3-sys v0.11.1 [INFO] [stderr] Checking open v1.7.1 [INFO] [stderr] Checking checksum v0.2.1 [INFO] [stderr] Checking rexif v0.3.7 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rusqlite v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking dam v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] [FMTARGS] {"crate":"dam","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0425]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"dam","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] error[E0425]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(_e: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | &self.name as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &self.name as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | &self.path.to_str() as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 44 | &self.path.to_str() as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | &self.created as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 45 | &self.created as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn rename(&mut self, dest: &Path) -> Result<()> { [INFO] [stdout] | --------------------------------------------------- this function returns a `Result` [INFO] [stdout] 58 | create_path(dest.parent()?)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 90 | fn exif(&self) -> Result { [INFO] [stdout] | ---------------------------------- this function returns a `Result` [INFO] [stdout] 91 | rexif::parse_file(self.to_str()?).map_err(Error::from) [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dam` (lib test) due to 5 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn from(_e: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"dam","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"dam","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stdout] warning: the feature `uniform_paths` has been stable since 1.32.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait, uniform_paths)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | &self.name as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | &self.name as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | &self.path.to_str() as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 44 | &self.path.to_str() as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | &self.created as &ToSql, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 45 | &self.created as &dyn ToSql, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn rename(&mut self, dest: &Path) -> Result<()> { [INFO] [stdout] | --------------------------------------------------- this function returns a `Result` [INFO] [stdout] 58 | create_path(dest.parent()?)?; [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), error::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:91:40 [INFO] [stdout] | [INFO] [stdout] 90 | fn exif(&self) -> Result { [INFO] [stdout] | ---------------------------------- this function returns a `Result` [INFO] [stdout] 91 | rexif::parse_file(self.to_str()?).map_err(Error::from) [INFO] [stdout] | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dam` (lib) due to 5 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00be63e2b2877e787fb7e1e4c64698e21163ad3740fa02bf08491d316eb80004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00be63e2b2877e787fb7e1e4c64698e21163ad3740fa02bf08491d316eb80004", kill_on_drop: false }` [INFO] [stdout] 00be63e2b2877e787fb7e1e4c64698e21163ad3740fa02bf08491d316eb80004