[INFO] fetching crate pstr 0.7.0... [INFO] checking pstr-0.7.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate pstr 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate pstr 0.7.0 [INFO] finished tweaking crates.io crate pstr 0.7.0 [INFO] tweaked toml for crates.io crate pstr 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pstr 0.7.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding dashmap v3.11.10 (available: v6.1.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c28aa2c76dbca5527795c65d9dadaac0822283eb9a118aef813853babf1daf55 [INFO] running `Command { std: "docker" "start" "-a" "c28aa2c76dbca5527795c65d9dadaac0822283eb9a118aef813853babf1daf55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c28aa2c76dbca5527795c65d9dadaac0822283eb9a118aef813853babf1daf55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28aa2c76dbca5527795c65d9dadaac0822283eb9a118aef813853babf1daf55", kill_on_drop: false }` [INFO] [stdout] c28aa2c76dbca5527795c65d9dadaac0822283eb9a118aef813853babf1daf55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fa59b2bcf270d369a1933d914f7b88a47cf61b8392a840d90f2aa9d9f55734ef [INFO] running `Command { std: "docker" "start" "-a" "fa59b2bcf270d369a1933d914f7b88a47cf61b8392a840d90f2aa9d9f55734ef", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking dashmap v3.11.10 [INFO] [stderr] Checking pstr v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/i_os_str.rs:213:53 [INFO] [stdout] | [INFO] [stdout] 213 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 214 | | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] 215 | | } [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: Result [INFO] [stdout] --> src/i_os_str.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/i_os_str.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/istr.rs:113:53 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 114 | | Ok(Self::new(s)) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/istr.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(Self::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mow_str.rs:543:53 [INFO] [stdout] | [INFO] [stdout] 543 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 544 | | Ok(Self::new(s)) [INFO] [stdout] 545 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mow_str.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Ok(Self::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/pool.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 99 - std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] 99 + std::ptr::addr_eq(std::sync::Arc::::as_ptr(&self.0), std::sync::Arc::::as_ptr(&other.0)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 99 - std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] 99 + std::ptr::eq(std::sync::Arc::::as_ptr(&self.0), std::sync::Arc::::as_ptr(&other.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pstr` (lib) due to 7 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: Result [INFO] [stdout] --> src/i_os_str.rs:213:53 [INFO] [stdout] | [INFO] [stdout] 213 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 214 | | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] 215 | | } [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: Result [INFO] [stdout] --> src/i_os_str.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/i_os_str.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | OsString::from_str(s).map(Self::from_os_string) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/istr.rs:113:53 [INFO] [stdout] | [INFO] [stdout] 113 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 114 | | Ok(Self::new(s)) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/istr.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | Ok(Self::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mow_str.rs:543:53 [INFO] [stdout] | [INFO] [stdout] 543 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 544 | | Ok(Self::new(s)) [INFO] [stdout] 545 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/mow_str.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Ok(Self::new(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/pool.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 99 - std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] 99 + std::ptr::addr_eq(std::sync::Arc::::as_ptr(&self.0), std::sync::Arc::::as_ptr(&other.0)) [INFO] [stdout] | [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 99 - std::sync::Arc::::as_ptr(&self.0) == std::sync::Arc::::as_ptr(&other.0) [INFO] [stdout] 99 + std::ptr::eq(std::sync::Arc::::as_ptr(&self.0), std::sync::Arc::::as_ptr(&other.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pstr` (lib test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fa59b2bcf270d369a1933d914f7b88a47cf61b8392a840d90f2aa9d9f55734ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa59b2bcf270d369a1933d914f7b88a47cf61b8392a840d90f2aa9d9f55734ef", kill_on_drop: false }` [INFO] [stdout] fa59b2bcf270d369a1933d914f7b88a47cf61b8392a840d90f2aa9d9f55734ef