[INFO] fetching crate naia-shared 0.24.0... [INFO] checking naia-shared-0.24.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate naia-shared 0.24.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate naia-shared 0.24.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate naia-shared 0.24.0 [INFO] tweaked toml for crates.io crate naia-shared 0.24.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate naia-shared 0.24.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate naia-shared 0.24.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 748f71b37fd658d89748a6658093d6ffa896bfced94f5ec066d7b47ce33f6129 [INFO] running `Command { std: "docker" "start" "-a" "748f71b37fd658d89748a6658093d6ffa896bfced94f5ec066d7b47ce33f6129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "748f71b37fd658d89748a6658093d6ffa896bfced94f5ec066d7b47ce33f6129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748f71b37fd658d89748a6658093d6ffa896bfced94f5ec066d7b47ce33f6129", kill_on_drop: false }` [INFO] [stdout] 748f71b37fd658d89748a6658093d6ffa896bfced94f5ec066d7b47ce33f6129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97f56b08f73599cd9e4205ff309271c0db3bd46f9c9b238bf84dd1330b683921 [INFO] running `Command { std: "docker" "start" "-a" "97f56b08f73599cd9e4205ff309271c0db3bd46f9c9b238bf84dd1330b683921", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling naia-serde-derive v0.24.0 [INFO] [stderr] Checking naia-serde v0.24.0 [INFO] [stderr] Compiling naia-derive v0.24.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking naia-socket-shared v0.24.0 [INFO] [stderr] Checking naia-shared v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | let container = MessageContainer::from_write(Box::new(outgoing_message), &FakeEntityConverter); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn LocalEntityAndGlobalEntityConverterMut` [INFO] [stdout] found reference `&FakeEntityConverter` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/messages/message_container.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_write( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | message: Box, [INFO] [stdout] 21 | converter: &mut dyn LocalEntityAndGlobalEntityConverterMut, [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | let fragments = fragmenter.fragment_message(&message_kinds, &converter, container); [INFO] [stdout] | ---------------- ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn LocalEntityAndGlobalEntityConverterMut` [INFO] [stdout] found reference `&FakeEntityConverter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/messages/channels/senders/message_fragmenter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fragment_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | converter: &mut dyn LocalEntityAndGlobalEntityConverterMut, [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/messages/tests/fragment.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | receiver.receive(&message_kinds, &converter, fragment) [INFO] [stdout] | ^^^^^^^ -------- argument #3 of type `u16` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/messages/channels/receivers/fragment_receiver.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn receive( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | message_index: MessageIndex, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 64 | receiver.receive(&message_kinds, &converter, /* u16 */, fragment) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | if let Some((_, reassembled_message)) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements [INFO] [stdout] 64 | receiver.receive(&message_kinds, &converter, fragment) [INFO] [stdout] | ------------------------------------------------------ this expression has type `Option<(u16, u16, MessageContainer)>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u16, u16, MessageContainer)` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:101:78 [INFO] [stdout] | [INFO] [stdout] 101 | let container = MessageContainer::from_write(Box::new(outgoing_message), &FakeEntityConverter); [INFO] [stdout] | ---------------------------- ^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn LocalEntityAndGlobalEntityConverterMut` [INFO] [stdout] found reference `&FakeEntityConverter` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/messages/message_container.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn from_write( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | message: Box, [INFO] [stdout] 21 | converter: &mut dyn LocalEntityAndGlobalEntityConverterMut, [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:104:65 [INFO] [stdout] | [INFO] [stdout] 104 | let fragments = fragmenter.fragment_message(&message_kinds, &converter, container); [INFO] [stdout] | ---------------- ^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut dyn LocalEntityAndGlobalEntityConverterMut` [INFO] [stdout] found reference `&FakeEntityConverter` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/messages/channels/senders/message_fragmenter.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn fragment_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | converter: &mut dyn LocalEntityAndGlobalEntityConverterMut, [INFO] [stdout] | ---------------------------------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/messages/tests/fragment.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | receiver.receive(&message_kinds, &converter, fragment.clone()) [INFO] [stdout] | ^^^^^^^ ---------------- argument #3 of type `u16` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/messages/channels/receivers/fragment_receiver.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn receive( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | message_index: MessageIndex, [INFO] [stdout] | --------------------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 119 | receiver.receive(&message_kinds, &converter, /* u16 */, fragment.clone()) [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/messages/tests/fragment.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some((_, reassembled_message)) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected a tuple with 3 elements, found one with 2 elements [INFO] [stdout] 119 | receiver.receive(&message_kinds, &converter, fragment.clone()) [INFO] [stdout] | -------------------------------------------------------------- this expression has type `Option<(u16, u16, MessageContainer)>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(u16, u16, MessageContainer)` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/component/component_update.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn reader(&self) -> BitReader { [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] 18 | pub fn reader(&self) -> BitReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/component/component_update.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn reader(&self) -> BitReader { [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] 52 | pub fn reader(&self) -> BitReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `naia-shared` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/host/mut_channel.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn mask(&self) -> RwLockReadGuard { [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] 69 | pub fn mask(&self) -> RwLockReadGuard<'_, DiffMask> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/host/user_diff_handler.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 55 | ) -> RwLockReadGuard { [INFO] [stdout] | ------------------------- the same lifetime is hidden 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] 55 | ) -> RwLockReadGuard<'_, DiffMask> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/host/world_channel.rs:684:17 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn iter(&self) -> std::collections::hash_map::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] 684 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/host/world_channel.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn iter(&self) -> std::collections::hash_set::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] 729 | pub fn iter(&self) -> std::collections::hash_set::Iter<'_, K> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "97f56b08f73599cd9e4205ff309271c0db3bd46f9c9b238bf84dd1330b683921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f56b08f73599cd9e4205ff309271c0db3bd46f9c9b238bf84dd1330b683921", kill_on_drop: false }` [INFO] [stdout] 97f56b08f73599cd9e4205ff309271c0db3bd46f9c9b238bf84dd1330b683921