[INFO] fetching crate anymap2 0.13.0... [INFO] testing anymap2-0.13.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate anymap2 0.13.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate anymap2 0.13.0 [INFO] finished tweaking crates.io crate anymap2 0.13.0 [INFO] tweaked toml for crates.io crate anymap2 0.13.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anymap2 0.13.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1714eb4702bd54d91cae95aaf1e839460fa169039b301040ace5dcfc584218c1 [INFO] running `Command { std: "docker" "start" "-a" "1714eb4702bd54d91cae95aaf1e839460fa169039b301040ace5dcfc584218c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1714eb4702bd54d91cae95aaf1e839460fa169039b301040ace5dcfc584218c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1714eb4702bd54d91cae95aaf1e839460fa169039b301040ace5dcfc584218c1", kill_on_drop: false }` [INFO] [stdout] 1714eb4702bd54d91cae95aaf1e839460fa169039b301040ace5dcfc584218c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ef94b2de9200cabc3656da33d4649894dff137dacd749c3ad2091a9d03587b9 [INFO] running `Command { std: "docker" "start" "-a" "9ef94b2de9200cabc3656da33d4649894dff137dacd749c3ad2091a9d03587b9", kill_on_drop: false }` [INFO] [stderr] Compiling anymap2 v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] 209 + impl_clone!(dyn CloneAnySend + Send, clone_to_any_send); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] 210 + impl_clone!(dyn CloneAnySync + Sync, clone_to_any_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] 211 + impl_clone!(dyn CloneAnySendSync + Send + Sync, clone_to_any_send_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn entry>(&mut self) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn entry>(&mut self) -> Entry<'_, A, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn iter(&self) -> Iter<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn iter_mut(&mut self) -> IterMut<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | pub fn drain(&mut self) -> Drain<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn entry(&mut self, key: TypeId) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn entry(&mut self, key: TypeId) -> Entry<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "9ef94b2de9200cabc3656da33d4649894dff137dacd749c3ad2091a9d03587b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef94b2de9200cabc3656da33d4649894dff137dacd749c3ad2091a9d03587b9", kill_on_drop: false }` [INFO] [stdout] 9ef94b2de9200cabc3656da33d4649894dff137dacd749c3ad2091a9d03587b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa24667c7f6debbf524259e0694fe3075852919b0d5dd256dfac95a1716e90bb [INFO] running `Command { std: "docker" "start" "-a" "fa24667c7f6debbf524259e0694fe3075852919b0d5dd256dfac95a1716e90bb", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] 209 + impl_clone!(dyn CloneAnySend + Send, clone_to_any_send); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] 210 + impl_clone!(dyn CloneAnySync + Sync, clone_to_any_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] 211 + impl_clone!(dyn CloneAnySendSync + Send + Sync, clone_to_any_send_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:220:33 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn entry>(&mut self) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 220 | pub fn entry>(&mut self) -> Entry<'_, A, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn iter(&self) -> Iter<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling anymap2 v0.13.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn iter_mut(&mut self) -> IterMut<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn drain(&mut self) -> Drain { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 218 | pub fn drain(&mut self) -> Drain<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn entry(&mut self, key: TypeId) -> Entry { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 227 | pub fn entry(&mut self, key: TypeId) -> Entry<'_, A> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 209 - impl_clone!((dyn CloneAnySend + Send), clone_to_any_send); [INFO] [stdout] 209 + impl_clone!(dyn CloneAnySend + Send, clone_to_any_send); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 210 - impl_clone!((dyn CloneAnySync + Sync), clone_to_any_sync); [INFO] [stdout] 210 + impl_clone!(dyn CloneAnySync + Sync, clone_to_any_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/any.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 211 - impl_clone!((dyn CloneAnySendSync + Send + Sync), clone_to_any_send_sync); [INFO] [stdout] 211 + impl_clone!(dyn CloneAnySendSync + Send + Sync, clone_to_any_send_sync); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> src/raw.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | mem::transmute::(type_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: `TypeId` (128 bits) [INFO] [stdout] = note: target type: `u64` (64 bits) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0512`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anymap2` (lib test) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fa24667c7f6debbf524259e0694fe3075852919b0d5dd256dfac95a1716e90bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa24667c7f6debbf524259e0694fe3075852919b0d5dd256dfac95a1716e90bb", kill_on_drop: false }` [INFO] [stdout] fa24667c7f6debbf524259e0694fe3075852919b0d5dd256dfac95a1716e90bb