[INFO] fetching crate flashmap 0.1.0... [INFO] testing flashmap-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate flashmap 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate flashmap 0.1.0 [INFO] finished tweaking crates.io crate flashmap 0.1.0 [INFO] tweaked toml for crates.io crate flashmap 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flashmap 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 56 packages to latest compatible versions [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.15.4) [INFO] [stderr] Adding loom v0.5.6 (available: v0.7.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fd9dcbb1e63cb95cf05c744ee10d0f132d9f96be81aeeae5622bcef226cb071 [INFO] running `Command { std: "docker" "start" "-a" "9fd9dcbb1e63cb95cf05c744ee10d0f132d9f96be81aeeae5622bcef226cb071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fd9dcbb1e63cb95cf05c744ee10d0f132d9f96be81aeeae5622bcef226cb071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd9dcbb1e63cb95cf05c744ee10d0f132d9f96be81aeeae5622bcef226cb071", kill_on_drop: false }` [INFO] [stdout] 9fd9dcbb1e63cb95cf05c744ee10d0f132d9f96be81aeeae5622bcef226cb071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5b54f0556e45bae7f87b3decfa0323615865e7c6899af4a9eb998e90ecac9510 [INFO] running `Command { std: "docker" "start" "-a" "5b54f0556e45bae7f87b3decfa0323615865e7c6899af4a9eb998e90ecac9510", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling flashmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/util/loom.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/util/loom.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/util/loom.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/util/loom.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(loom)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `loom` [INFO] [stdout] --> src/util/loom.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg(not(loom))] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(loom)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hint` [INFO] [stdout] --> src/util/loom.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub use std::{hint, sync, thread}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/view.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn iter<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] | ^^^^^ -- -- -- the lifetimes get resolved as `'read` [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'read` [INFO] [stdout] | | the lifetimes get resolved as `'read` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'read` [INFO] [stdout] | [INFO] [stdout] 158 - pub fn iter<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] 158 + pub fn iter<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/view.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn keys<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] | ^^^^^ -- -- the lifetimes get resolved as `'read` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'read` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'read` [INFO] [stdout] | [INFO] [stdout] 189 - pub fn keys<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] 189 + pub fn keys<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/view.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn values<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] | ^^^^^ -- -- the lifetimes get resolved as `'read` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'read` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'read` [INFO] [stdout] | [INFO] [stdout] 219 - pub fn values<'read>(&'read self) -> impl Iterator + '_ [INFO] [stdout] 219 + pub fn values<'read>(&'read self) -> impl Iterator + 'read [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/write.rs:541:38 [INFO] [stdout] | [INFO] [stdout] 541 | .with_mut(|ptr| unsafe { (*ptr).get_unchecked_mut(evicted.operation) }.make_leaky()); [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut [Operation]` [INFO] [stdout] --> src/write.rs:541:38 [INFO] [stdout] | [INFO] [stdout] 541 | .with_mut(|ptr| unsafe { (*ptr).get_unchecked_mut(evicted.operation) }.make_leaky()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: method calls to `get_unchecked_mut` require a reference [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:680:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 541 | .with_mut(|ptr| unsafe { (&mut (*ptr)).get_unchecked_mut(evicted.operation) }.make_leaky()); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flashmap` (lib) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b54f0556e45bae7f87b3decfa0323615865e7c6899af4a9eb998e90ecac9510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b54f0556e45bae7f87b3decfa0323615865e7c6899af4a9eb998e90ecac9510", kill_on_drop: false }` [INFO] [stdout] 5b54f0556e45bae7f87b3decfa0323615865e7c6899af4a9eb998e90ecac9510