[INFO] crate cobalt 0.22.0 is already in cache [INFO] checking cobalt-0.22.0 against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] extracting crate cobalt 0.22.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate cobalt 0.22.0 on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cobalt 0.22.0 [INFO] finished tweaking crates.io crate cobalt 0.22.0 [INFO] tweaked toml for crates.io crate cobalt 0.22.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ffd2fece3db2f0058da459162b5a127d35db933a89e2b33dc0239cd7be36c945 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ffd2fece3db2f0058da459162b5a127d35db933a89e2b33dc0239cd7be36c945"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cobalt v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/shared/udp_socket.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | let socket = try!(net::UdpSocket::bind(address)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/shared/udp_socket.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | try!(socket.set_nonblocking(true)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:198:26 [INFO] [stderr] | [INFO] [stderr] 198 | let socket = try!(S::new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:203:29 [INFO] [stderr] | [INFO] [stderr] 203 | let peer_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:204:30 [INFO] [stderr] | [INFO] [stderr] 204 | let local_addr = try!(socket.local_addr()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/server.rs:203:30 [INFO] [stderr] | [INFO] [stderr] 203 | let local_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/server.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | let socket = try!(S::new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/shared/binary_rate_limiter.rs:165:45 [INFO] [stderr] | [INFO] [stderr] 165 | self.last_bad_time = Instant::now();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shared/connection.rs:129:59 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shared/connection.rs:129:72 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/shared/connection.rs:425:25 [INFO] [stderr] | [INFO] [stderr] 425 | (cmp::max(self.last_receive_time - ack.time, tick_delay) - tick_delay) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits/packet_modifier.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | impl fmt::Debug for PacketModifier { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits/rate_limiter.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | impl fmt::Debug for RateLimiter { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/shared/udp_socket.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | let socket = try!(net::UdpSocket::bind(address)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/shared/udp_socket.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | try!(socket.set_nonblocking(true)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:198:26 [INFO] [stderr] | [INFO] [stderr] 198 | let socket = try!(S::new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:203:29 [INFO] [stderr] | [INFO] [stderr] 203 | let peer_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/client.rs:204:30 [INFO] [stderr] | [INFO] [stderr] 204 | let local_addr = try!(socket.local_addr()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/server.rs:203:30 [INFO] [stderr] | [INFO] [stderr] 203 | let local_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/server.rs:204:26 [INFO] [stderr] | [INFO] [stderr] 204 | let socket = try!(S::new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/shared/binary_rate_limiter.rs:165:45 [INFO] [stderr] | [INFO] [stderr] 165 | self.last_bad_time = Instant::now();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shared/connection.rs:129:59 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/shared/connection.rs:129:72 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/shared/connection.rs:425:25 [INFO] [stderr] | [INFO] [stderr] 425 | (cmp::max(self.last_receive_time - ack.time, tick_delay) - tick_delay) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits/packet_modifier.rs:43:21 [INFO] [stderr] | [INFO] [stderr] 43 | impl fmt::Debug for PacketModifier { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits/rate_limiter.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | impl fmt::Debug for RateLimiter { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn traits::rate_limiter::RateLimiter + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/shared/connection.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] ... [INFO] [stderr] 133 | pub struct Connection { [INFO] [stderr] | -------------------------------------------------------- required by `shared::connection::Connection` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn traits::rate_limiter::RateLimiter + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn traits::packet_modifier::PacketModifier + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/shared/connection.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] ... [INFO] [stderr] 133 | pub struct Connection { [INFO] [stderr] | -------------------------------------------------------- required by `shared::connection::Connection` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn traits::packet_modifier::PacketModifier + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `cobalt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the size for values of type `(dyn traits::rate_limiter::RateLimiter + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/shared/connection.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] ... [INFO] [stderr] 133 | pub struct Connection { [INFO] [stderr] | -------------------------------------------------------- required by `shared::connection::Connection` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn traits::rate_limiter::RateLimiter + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn traits::packet_modifier::PacketModifier + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/shared/connection.rs:129:26 [INFO] [stderr] | [INFO] [stderr] 129 | pub type ConnectionMap = HashMap>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] ... [INFO] [stderr] 133 | pub struct Connection { [INFO] [stderr] | -------------------------------------------------------- required by `shared::connection::Connection` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn traits::packet_modifier::PacketModifier + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `cobalt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ffd2fece3db2f0058da459162b5a127d35db933a89e2b33dc0239cd7be36c945"` [INFO] running `"docker" "rm" "-f" "ffd2fece3db2f0058da459162b5a127d35db933a89e2b33dc0239cd7be36c945"` [INFO] [stdout] ffd2fece3db2f0058da459162b5a127d35db933a89e2b33dc0239cd7be36c945