[INFO] fetching crate bytes-expand 0.4.12...
[INFO] checking bytes-expand-0.4.12 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate bytes-expand 0.4.12 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate bytes-expand 0.4.12 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bytes-expand 0.4.12
[INFO] finished tweaking crates.io crate bytes-expand 0.4.12
[INFO] tweaked toml for crates.io crate bytes-expand 0.4.12 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "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" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_test v1.0.176
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] db2fa79c9f8bfbb3483d06164f400b4e1a8ea3c8cfc91da58d97c44455978322
[INFO] running `Command { std: "docker" "start" "-a" "db2fa79c9f8bfbb3483d06164f400b4e1a8ea3c8cfc91da58d97c44455978322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "db2fa79c9f8bfbb3483d06164f400b4e1a8ea3c8cfc91da58d97c44455978322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db2fa79c9f8bfbb3483d06164f400b4e1a8ea3c8cfc91da58d97c44455978322", kill_on_drop: false }`
[INFO] [stdout] db2fa79c9f8bfbb3483d06164f400b4e1a8ea3c8cfc91da58d97c44455978322
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a5e7f17a3144b5e324f220d94467540b6cd7ba721c52f27fa0e6607be90cdd3
[INFO] running `Command { std: "docker" "start" "-a" "0a5e7f17a3144b5e324f220d94467540b6cd7ba721c52f27fa0e6607be90cdd3", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes-expand v0.4.12 (/opt/rustwide/workdir)
[INFO] [stdout] error: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/bytes.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::iter::{FromIterator, Iterator};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]   --> /rustc/b0696a5160711c068cb1f01b7437db7990d15750/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 | #![deny(warnings, missing_docs, missing_debug_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         try!(write!(fmt, "b\""));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(write!(fmt, "\""));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 try!(write!(fmt, "\\n"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 try!(write!(fmt, "\\r"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 try!(write!(fmt, "\\t"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 try!(write!(fmt, "\\{}", c as char));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 try!(write!(fmt, "\\0"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 try!(write!(fmt, "{}", c as char));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 try!(write!(fmt, "\\x{:02x}", c));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:1680:45
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:1873:45
[INFO] [stdout]      |
[INFO] [stdout] 1873 |                 let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:2166:41
[INFO] [stdout]      |
[INFO] [stdout] 2166 |             let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/buf/buf.rs:1154:30
[INFO] [stdout]      |
[INFO] [stdout] 1154 | fn _assert_trait_object(_b: &Buf) {}
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]      = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1154 | fn _assert_trait_object(_b: &dyn Buf) {}
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/buf/buf_mut.rs:1167:30
[INFO] [stdout]      |
[INFO] [stdout] 1167 | fn _assert_trait_object(_b: &BufMut) {}
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1167 | fn _assert_trait_object(_b: &dyn BufMut) {}
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]     --> src/bytes.rs:2271:31
[INFO] [stdout]      |
[INFO] [stdout] 2271 |         let actual = self.arc.compare_and_swap(arc as *mut Shared, shared, AcqRel);
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytes.rs:834:9
[INFO] [stdout]     |
[INFO] [stdout] 834 |         mem::replace(self, result.freeze());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 834 |         let _ = mem::replace(self, result.freeze());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/bytes.rs:1029:9
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         mem::replace(self, bytes_mut.freeze());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         let _ = mem::replace(self, bytes_mut.freeze());
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:1680:40
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#[deny(invalid_value)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:1873:40
[INFO] [stdout]      |
[INFO] [stdout] 1873 |                 let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:2166:36
[INFO] [stdout]      |
[INFO] [stdout] 2166 |             let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/bytes.rs:2605:9
[INFO] [stdout]      |
[INFO] [stdout] 2605 |         Box::from_raw(ptr);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2605 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bytes-expand` (lib) due to 23 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "0a5e7f17a3144b5e324f220d94467540b6cd7ba721c52f27fa0e6607be90cdd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a5e7f17a3144b5e324f220d94467540b6cd7ba721c52f27fa0e6607be90cdd3", kill_on_drop: false }`
[INFO] [stdout] 0a5e7f17a3144b5e324f220d94467540b6cd7ba721c52f27fa0e6607be90cdd3
[INFO] checking bytes-expand-0.4.12 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate bytes-expand 0.4.12 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate bytes-expand 0.4.12 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bytes-expand 0.4.12
[INFO] finished tweaking crates.io crate bytes-expand 0.4.12
[INFO] tweaked toml for crates.io crate bytes-expand 0.4.12 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4657fb7d86800990041f017b7789b1fd046129dd0b5efa99fd266dfe1cf284f1
[INFO] running `Command { std: "docker" "start" "-a" "4657fb7d86800990041f017b7789b1fd046129dd0b5efa99fd266dfe1cf284f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4657fb7d86800990041f017b7789b1fd046129dd0b5efa99fd266dfe1cf284f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4657fb7d86800990041f017b7789b1fd046129dd0b5efa99fd266dfe1cf284f1", kill_on_drop: false }`
[INFO] [stdout] 4657fb7d86800990041f017b7789b1fd046129dd0b5efa99fd266dfe1cf284f1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9197d14ed31264867b560e6672de02d16215b72e38499c6a6267562e6b953e8
[INFO] running `Command { std: "docker" "start" "-a" "c9197d14ed31264867b560e6672de02d16215b72e38499c6a6267562e6b953e8", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes-expand v0.4.12 (/opt/rustwide/workdir)
[INFO] [stdout] error: the item `Iterator` is imported redundantly
[INFO] [stdout]   --> src/bytes.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::iter::{FromIterator, Iterator};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout]   --> /rustc/bfe97fcae016881ad333f0ff8cea2cadb9cf136c/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]    |
[INFO] [stdout]    = note: the item `Iterator` is already defined here
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 | #![deny(warnings, missing_docs, missing_debug_implementations)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         try!(write!(fmt, "b\""));
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         try!(write!(fmt, "\""));
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |                 try!(write!(fmt, "\\n"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 try!(write!(fmt, "\\r"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 try!(write!(fmt, "\\t"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 try!(write!(fmt, "\\{}", c as char));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |                 try!(write!(fmt, "\\0"));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 try!(write!(fmt, "{}", c as char));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/debug.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 try!(write!(fmt, "\\x{:02x}", c));
[INFO] [stdout]    |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:1680:45
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:1873:45
[INFO] [stdout]      |
[INFO] [stdout] 1873 |                 let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]     --> src/bytes.rs:2166:41
[INFO] [stdout]      |
[INFO] [stdout] 2166 |             let mut inner: Inner = mem::uninitialized();
[INFO] [stdout]      |                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/buf/buf.rs:1154:30
[INFO] [stdout]      |
[INFO] [stdout] 1154 | fn _assert_trait_object(_b: &Buf) {}
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]      = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1154 | fn _assert_trait_object(_b: &dyn Buf) {}
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> src/buf/buf_mut.rs:1167:30
[INFO] [stdout]      |
[INFO] [stdout] 1167 | fn _assert_trait_object(_b: &BufMut) {}
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is an object-safe trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1167 | fn _assert_trait_object(_b: &dyn BufMut) {}
[INFO] [stdout]      |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicPtr::<T>::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead
[INFO] [stdout]     --> src/bytes.rs:2271:31
[INFO] [stdout]      |
[INFO] [stdout] 2271 |         let actual = self.arc.compare_and_swap(arc as *mut Shared, shared, AcqRel);
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/bytes.rs:834:9
[INFO] [stdout]     |
[INFO] [stdout] 834 |         mem::replace(self, result.freeze());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 834 |         let _ = mem::replace(self, result.freeze());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]     --> src/bytes.rs:1029:9
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         mem::replace(self, bytes_mut.freeze());
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1029 |         let _ = mem::replace(self, bytes_mut.freeze());
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:1680:40
[INFO] [stdout]      |
[INFO] [stdout] 1680 |                 let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#[deny(invalid_value)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:1873:40
[INFO] [stdout]      |
[INFO] [stdout] 1873 |                 let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the type `Inner` does not permit being left uninitialized
[INFO] [stdout]     --> src/bytes.rs:2166:36
[INFO] [stdout]      |
[INFO] [stdout] 2166 |             let mut inner: Inner = 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: raw pointers must be initialized (in this struct field)
[INFO] [stdout]     --> src/bytes.rs:302:5
[INFO] [stdout]      |
[INFO] [stdout] 302  |     arc: AtomicPtr<Shared>,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]     --> src/bytes.rs:2605:9
[INFO] [stdout]      |
[INFO] [stdout] 2605 |         Box::from_raw(ptr);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2605 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bytes-expand` (lib) due to 23 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "c9197d14ed31264867b560e6672de02d16215b72e38499c6a6267562e6b953e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9197d14ed31264867b560e6672de02d16215b72e38499c6a6267562e6b953e8", kill_on_drop: false }`
[INFO] [stdout] c9197d14ed31264867b560e6672de02d16215b72e38499c6a6267562e6b953e8
