[INFO] fetching crate crossbundle 0.2.3... [INFO] checking crossbundle-0.2.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate crossbundle 0.2.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate crossbundle 0.2.3 [INFO] finished tweaking crates.io crate crossbundle 0.2.3 [INFO] tweaked toml for crates.io crate crossbundle 0.2.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate crossbundle 0.2.3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crossbundle 0.2.3 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8452bae47d1daa8853fbf8bf601e84a5f15fd9315a84fa8531a18e4dc8eb00ee [INFO] running `Command { std: "docker" "start" "-a" "8452bae47d1daa8853fbf8bf601e84a5f15fd9315a84fa8531a18e4dc8eb00ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8452bae47d1daa8853fbf8bf601e84a5f15fd9315a84fa8531a18e4dc8eb00ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8452bae47d1daa8853fbf8bf601e84a5f15fd9315a84fa8531a18e4dc8eb00ee", kill_on_drop: false }` [INFO] [stdout] 8452bae47d1daa8853fbf8bf601e84a5f15fd9315a84fa8531a18e4dc8eb00ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 782ab8dea30650a1d36e7685b1412ec50325a8ebe9545b5320a9bbc1897218a0 [INFO] running `Command { std: "docker" "start" "-a" "782ab8dea30650a1d36e7685b1412ec50325a8ebe9545b5320a9bbc1897218a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling filetime v0.2.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling semver v1.0.13 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking kstring v2.0.0 [INFO] [stderr] Checking yaserde v0.8.0 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling curl-sys v0.4.56+curl-7.83.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking opener v0.5.0 [INFO] [stderr] Checking which v4.3.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling cargo v0.63.1 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking unicode-xid v0.2.3 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking dunce v1.0.2 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rust-embed-utils v7.2.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking image v0.24.3 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling yaserde_derive v0.8.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking crossbow-android v0.2.3 [INFO] [stderr] Checking android-tools v0.2.11 [INFO] [stderr] Checking ureq v2.5.0 [INFO] [stderr] Checking zip-extensions v0.6.1 [INFO] [stderr] Checking clap v3.2.20 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Checking cargo-util v0.2.1 [INFO] [stderr] Checking git2 v0.14.4 [INFO] [stderr] Checking git2-curl v0.15.0 [INFO] [stderr] Checking serde_plain v1.0.0 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking serde_ignored v0.1.5 [INFO] [stderr] Checking os_info v3.5.0 [INFO] [stderr] Checking android-manifest v0.1.10 [INFO] [stderr] Checking apple-bundle v0.1.4 [INFO] [stderr] Checking rustfix v0.6.1 [INFO] [stderr] Checking crates-io v0.34.0 [INFO] [stderr] Checking creator-simctl v0.1.1 [INFO] [stderr] Checking crossbow v0.2.3 [INFO] [stderr] Checking crossbundle-tools v0.2.3 [INFO] [stderr] Checking crossbundle v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub current_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub example: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub target_dir: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub lib: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub export_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub sign_key_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub sign_key_pass: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub sign_key_alias: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub bin: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub profile_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub profile_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub team_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub identity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/bundletool.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/bundletool.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/command_line_tools.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub install_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/command_line_tools.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | let command_line_tools_download_url = COMMAND_LINE_TOOLS_DOWNLOAD_URL [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 40 | | .parse::() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub install: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub uninstall: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub sdk_root: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub proxy_host: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub proxy_port: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub simulator_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub device_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Display, Debug, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crossbundle` (lib) due to 28 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub current_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub example: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub features: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/mod.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub target_dir: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub lib: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub export_path: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub sign_key_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub sign_key_pass: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/android.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub sign_key_alias: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub bin: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub profile_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub profile_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub team_identifier: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/build/apple.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub identity: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/bundletool.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/bundletool.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub path: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/command_line_tools.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub install_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/command_line_tools.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | let command_line_tools_download_url = COMMAND_LINE_TOOLS_DOWNLOAD_URL [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 40 | | .parse::() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub install: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub uninstall: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub sdk_root: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub proxy: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub proxy_host: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/install/sdkmanager.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub proxy_port: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/new/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub template: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub simulator_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/commands/run/apple.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub device_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Display, Debug, Error)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crossbundle` (lib test) due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "782ab8dea30650a1d36e7685b1412ec50325a8ebe9545b5320a9bbc1897218a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "782ab8dea30650a1d36e7685b1412ec50325a8ebe9545b5320a9bbc1897218a0", kill_on_drop: false }` [INFO] [stdout] 782ab8dea30650a1d36e7685b1412ec50325a8ebe9545b5320a9bbc1897218a0