[INFO] fetching crate fdringbuf 0.0.2...
[INFO] checking fdringbuf-0.0.2 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate fdringbuf 0.0.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate fdringbuf 0.0.2 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fdringbuf 0.0.2
[INFO] finished tweaking crates.io crate fdringbuf 0.0.2
[INFO] tweaked toml for crates.io crate fdringbuf 0.0.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded nix v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e6346cc47a56f39b26d40199d6349350a84f4b69b7c2b8ce7f8da3e7c554646
[INFO] running `Command { std: "docker" "start" "-a" "5e6346cc47a56f39b26d40199d6349350a84f4b69b7c2b8ce7f8da3e7c554646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e6346cc47a56f39b26d40199d6349350a84f4b69b7c2b8ce7f8da3e7c554646", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e6346cc47a56f39b26d40199d6349350a84f4b69b7c2b8ce7f8da3e7c554646", kill_on_drop: false }`
[INFO] [stdout] 5e6346cc47a56f39b26d40199d6349350a84f4b69b7c2b8ce7f8da3e7c554646
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90e9e15dabd0bddfccd3d759f9d7575586f64ab99867ec052e2288d436cc18ae
[INFO] running `Command { std: "docker" "start" "-a" "90e9e15dabd0bddfccd3d759f9d7575586f64ab99867ec052e2288d436cc18ae", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking fdringbuf v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[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/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u64; 32]` does not permit being left uninitialized
[INFO] [stdout]   --> src/fdbuf.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this code causes undefined behavior when executed
[INFO] [stdout]    |                           help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::nix::sys::epoll`
[INFO] [stdout]    --> src/fdbuf.rs:173:25
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use self::nix::sys::epoll::*;
[INFO] [stdout]     |                         ^^^^^ could not find `epoll` in `sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::nix::sys::eventfd`
[INFO] [stdout]    --> src/fdbuf.rs:211:29
[INFO] [stdout]     |
[INFO] [stdout] 211 |         use self::nix::sys::eventfd::*;
[INFO] [stdout]     |                             ^^^^^^^ could not find `eventfd` in `sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_create` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:186:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let sleep = epoll_create().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_create;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EpollEvent` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:187:21
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:187:51
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_ctl` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_ctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EpollEvent` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:193:27
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_wait` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:194:23
[INFO] [stdout]     |
[INFO] [stdout] 194 |         assert_eq!(1, epoll_wait(fd, &mut events, 5000).unwrap());
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_wait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `eventfd` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::eventfd;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `eventfd` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:63
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::eventfd;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:74
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `std::thread::scoped`
[INFO] [stdout]    --> src/fdbuf.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |           let guard = ::std::thread::scoped(move || {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^------
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: a function with a similar name exists: `scope`
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/thread/scoped.rs:129:1
[INFO] [stdout]    ::: /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/thread/scoped.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named function `scope` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `scoped` is private
[INFO] [stdout]    --> src/fdbuf.rs:226:36
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let guard = ::std::thread::scoped(move || {
[INFO] [stdout]     |                                    ^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `scoped` is defined here
[INFO] [stdout]    --> /rustc/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/std/src/thread/mod.rs:183:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[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/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpollOp`
[INFO] [stdout]    --> src/fdbuf.rs:188:26
[INFO] [stdout]     |
[INFO] [stdout] 188 |         epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `EpollOp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]    --> src/fdbuf.rs:233:69
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     for z in d.iter().take(300) { cc += 1; if *z == -1 { quit = true; return (cc, false); } sum += *z as u64 };
[INFO] [stdout]     |                                                                     ^^
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     cannot apply unary operator `-`
[INFO] [stdout]     |                                                                     help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]    --> src/fdbuf.rs:261:29
[INFO] [stdout]     |
[INFO] [stdout] 261 |         s.send(|d| { d[0] = -1; (1, false) }).unwrap();
[INFO] [stdout]     |                             ^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             cannot apply unary operator `-`
[INFO] [stdout]     |                             help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0423, E0425, E0432, E0433, E0600, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fdringbuf` (lib test) due to 19 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "90e9e15dabd0bddfccd3d759f9d7575586f64ab99867ec052e2288d436cc18ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90e9e15dabd0bddfccd3d759f9d7575586f64ab99867ec052e2288d436cc18ae", kill_on_drop: false }`
[INFO] [stdout] 90e9e15dabd0bddfccd3d759f9d7575586f64ab99867ec052e2288d436cc18ae
[INFO] checking fdringbuf-0.0.2 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate fdringbuf 0.0.2 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate fdringbuf 0.0.2 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fdringbuf 0.0.2
[INFO] finished tweaking crates.io crate fdringbuf 0.0.2
[INFO] tweaked toml for crates.io crate fdringbuf 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07e815c2bf0c3124d27dd6a496118dd91b7f4f379345a4a2a3fea2f456405431
[INFO] running `Command { std: "docker" "start" "-a" "07e815c2bf0c3124d27dd6a496118dd91b7f4f379345a4a2a3fea2f456405431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07e815c2bf0c3124d27dd6a496118dd91b7f4f379345a4a2a3fea2f456405431", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07e815c2bf0c3124d27dd6a496118dd91b7f4f379345a4a2a3fea2f456405431", kill_on_drop: false }`
[INFO] [stdout] 07e815c2bf0c3124d27dd6a496118dd91b7f4f379345a4a2a3fea2f456405431
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ef6c0acf1089c72a5f06ffaefee1d066bc2dae3e048a08d385dd3eb97670078
[INFO] running `Command { std: "docker" "start" "-a" "3ef6c0acf1089c72a5f06ffaefee1d066bc2dae3e048a08d385dd3eb97670078", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking fdringbuf v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[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/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `[u64; 32]` does not permit being left uninitialized
[INFO] [stdout]   --> src/fdbuf.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           this code causes undefined behavior when executed
[INFO] [stdout]    |                           help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout]    |
[INFO] [stdout]    = note: integers must be initialized
[INFO] [stdout]    = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::nix::sys::epoll`
[INFO] [stdout]    --> src/fdbuf.rs:173:25
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use self::nix::sys::epoll::*;
[INFO] [stdout]     |                         ^^^^^ could not find `epoll` in `sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::nix::sys::eventfd`
[INFO] [stdout]    --> src/fdbuf.rs:211:29
[INFO] [stdout]     |
[INFO] [stdout] 211 |         use self::nix::sys::eventfd::*;
[INFO] [stdout]     |                             ^^^^^^^ could not find `eventfd` in `sys`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_create` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:186:21
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let sleep = epoll_create().unwrap();
[INFO] [stdout]     |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_create;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EpollEvent` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:187:21
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:187:51
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_ctl` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_ctl;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EpollEvent` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:193:27
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                           ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `epoll_wait` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:194:23
[INFO] [stdout]     |
[INFO] [stdout] 194 |         assert_eq!(1, epoll_wait(fd, &mut events, 5000).unwrap());
[INFO] [stdout]     |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::epoll_wait;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `eventfd` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                             ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::eventfd;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `eventfd` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:63
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                                               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::eventfd;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:74
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 +     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `std::thread::scoped`
[INFO] [stdout]    --> src/fdbuf.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |           let guard = ::std::thread::scoped(move || {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^------
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      help: a function with a similar name exists: `scope`
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/thread/scoped.rs:129:1
[INFO] [stdout]    ::: /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/thread/scoped.rs:131:60
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named function `scope` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `scoped` is private
[INFO] [stdout]    --> src/fdbuf.rs:226:36
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let guard = ::std::thread::scoped(move || {
[INFO] [stdout]     |                                    ^^^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `scoped` is defined here
[INFO] [stdout]    --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/thread/mod.rs:183:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[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/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:39
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EpollOp`
[INFO] [stdout]    --> src/fdbuf.rs:188:26
[INFO] [stdout]     |
[INFO] [stdout] 188 |         epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap();
[INFO] [stdout]     |                          ^^^^^^^ use of undeclared type `EpollOp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]    --> src/fdbuf.rs:233:69
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     for z in d.iter().take(300) { cc += 1; if *z == -1 { quit = true; return (cc, false); } sum += *z as u64 };
[INFO] [stdout]     |                                                                     ^^
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     cannot apply unary operator `-`
[INFO] [stdout]     |                                                                     help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]    --> src/fdbuf.rs:261:29
[INFO] [stdout]     |
[INFO] [stdout] 261 |         s.send(|d| { d[0] = -1; (1, false) }).unwrap();
[INFO] [stdout]     |                             ^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             cannot apply unary operator `-`
[INFO] [stdout]     |                             help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0423, E0425, E0432, E0433, E0600, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fdringbuf` (lib test) due to 19 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3ef6c0acf1089c72a5f06ffaefee1d066bc2dae3e048a08d385dd3eb97670078", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ef6c0acf1089c72a5f06ffaefee1d066bc2dae3e048a08d385dd3eb97670078", kill_on_drop: false }`
[INFO] [stdout] 3ef6c0acf1089c72a5f06ffaefee1d066bc2dae3e048a08d385dd3eb97670078
