[INFO] fetching crate gjio 0.1.3... [INFO] building gjio-0.1.3 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate gjio 0.1.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate gjio 0.1.3 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gjio 0.1.3 [INFO] finished tweaking crates.io crate gjio 0.1.3 [INFO] tweaked toml for crates.io crate gjio 0.1.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding miow v0.1.5 (available: v0.6.0) [INFO] [stderr] Adding nix v0.5.1 (available: v0.29.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.37) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gj v0.2.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3451cdc113c6f04d4bc0f9164366866ec54c7e6a80048fc1deac6e2c6f2e781f [INFO] running `Command { std: "docker" "start" "-a" "3451cdc113c6f04d4bc0f9164366866ec54c7e6a80048fc1deac6e2c6f2e781f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3451cdc113c6f04d4bc0f9164366866ec54c7e6a80048fc1deac6e2c6f2e781f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3451cdc113c6f04d4bc0f9164366866ec54c7e6a80048fc1deac6e2c6f2e781f", kill_on_drop: false }` [INFO] [stdout] 3451cdc113c6f04d4bc0f9164366866ec54c7e6a80048fc1deac6e2c6f2e781f [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3f8c83ee8498e04ad6851f3e62687ea5de60fb72c34a5b6725492d15fbd7cb [INFO] running `Command { std: "docker" "start" "-a" "2b3f8c83ee8498e04ad6851f3e62687ea5de60fb72c34a5b6725492d15fbd7cb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling gj v0.2.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling gjio v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | ... try!(::nix::sys::socket::UnixAddr::new(addr.as_ref()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | let fd = AutoCloseFd(try!(socket::socket(self.addr.family(), socket::SockType::Stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let handle = try!(self.reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:271:23 [INFO] [stdout] | [INFO] [stdout] 271 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let handle1 = try!(reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | let handle = try!(reactor.borrow_mut().new_observer(fd.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | let handle0 = try!(reactor.borrow_mut().new_observer(fd0.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:302:34 [INFO] [stdout] | [INFO] [stdout] 302 | let event_port = try!(::EventPort::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/mod.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | let handle1 = try!(network.reactor.borrow_mut().new_observer(fd1.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | reactor: Rc::new(RefCell::new(try!(sys::Reactor::new()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(self.reactor.borrow_mut().run_once(timeout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | Ok(SocketAddress::new(try!(SocketAddressInner::new_unix(self.reactor.clone(), addr)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:220:32 [INFO] [stdout] | [INFO] [stdout] 220 | let (inner0, inner1) = try!(SocketStreamInner::new_pair(self.reactor.clone())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:21 [INFO] [stdout] | [INFO] [stdout] 254 | let inner = try!(SocketStreamInner::wrap_raw_socket_descriptor(self.reactor.clone(), fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | let (join_handle, inner) = try!(SocketStreamInner::socket_spawn(self.reactor.clone(), start_func)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:296:32 [INFO] [stdout] | [INFO] [stdout] 296 | Ok(SocketListener::new(try!(self.inner.listen()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:288:94 [INFO] [stdout] | [INFO] [stdout] 288 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStreamInner), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | -> Result<(::std::thread::JoinHandle<()>, SocketStreamInner), Box> [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:263:89 [INFO] [stdout] | [INFO] [stdout] 263 | ... -> Result<(::std::thread::JoinHandle<()>, SocketStream), Box<::std::error::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 263 | -> Result<(::std::thread::JoinHandle<()>, SocketStream), Box> [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:264:86 [INFO] [stdout] | [INFO] [stdout] 264 | where F: FnOnce(SocketStream, &::gj::WaitScope, EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 264 | where F: FnOnce(SocketStream, &::gj::WaitScope, EventPort) -> Result<(), Box>, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sys/unix/mod.rs:289:90 [INFO] [stdout] | [INFO] [stdout] 289 | where F: FnOnce(::SocketStream, &::gj::WaitScope, ::EventPort) -> Result<(), Box<::std::error::Error>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 | where F: FnOnce(::SocketStream, &::gj::WaitScope, ::EventPort) -> Result<(), Box>, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | if event.events.contains(epoll::EPOLLIN) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | if event.events.contains(epoll::EPOLLOUT) || event.events.contains(epoll::EPOLLHUP) || [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/epoll.rs:74:16 [INFO] [stdout] | [INFO] [stdout] 74 | event.events.contains(epoll::EPOLLERR) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gjio` (lib) due to 6 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2b3f8c83ee8498e04ad6851f3e62687ea5de60fb72c34a5b6725492d15fbd7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3f8c83ee8498e04ad6851f3e62687ea5de60fb72c34a5b6725492d15fbd7cb", kill_on_drop: false }` [INFO] [stdout] 2b3f8c83ee8498e04ad6851f3e62687ea5de60fb72c34a5b6725492d15fbd7cb