[INFO] fetching crate nut 0.1.1...
[INFO] checking nut-0.1.1 against nightly-2024-02-05 for check-cfg
[INFO] extracting crate nut 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate nut 0.1.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nut 0.1.1
[INFO] finished tweaking crates.io crate nut 0.1.1
[INFO] tweaked toml for crates.io crate nut 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate crates.io crate nut 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded poolcache v0.1.1
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29c75e7c2a6c0683fb821337a990cc597a748def62cd88109f38db52e4d949d5
[INFO] running `Command { std: "docker" "start" "-a" "29c75e7c2a6c0683fb821337a990cc597a748def62cd88109f38db52e4d949d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29c75e7c2a6c0683fb821337a990cc597a748def62cd88109f38db52e4d949d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29c75e7c2a6c0683fb821337a990cc597a748def62cd88109f38db52e4d949d5", kill_on_drop: false }`
[INFO] [stdout] 29c75e7c2a6c0683fb821337a990cc597a748def62cd88109f38db52e4d949d5
[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" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d37797ab53dcfa7b3866ca8bec4152e5cbf9d402d195dd94f2fa5d2a41aa9f12
[INFO] running `Command { std: "docker" "start" "-a" "d37797ab53dcfa7b3866ca8bec4152e5cbf9d402d195dd94f2fa5d2a41aa9f12", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]     Checking poolcache v0.1.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking page_size v0.4.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking nut v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let mut p = self.page_in_buffer(&mut buf, i);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut p = self.page_in_buffer(&mut buf, 2);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut p = self.page_in_buffer(&mut buf, 3);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let mut inode = &mut inodes[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:616:21
[INFO] [stdout]     |
[INFO] [stdout] 616 |                 let mut elem = p.leaf_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:623:21
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 let mut elem = p.branch_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let mut p = self.page_in_buffer(&mut buf, i);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut p = self.page_in_buffer(&mut buf, 2);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut p = self.page_in_buffer(&mut buf, 3);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/bucket/cursor.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &mut *((&*self.bucket) as *const Bucket as *mut Bucket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 | /             &mut *(self.branch_page_elements() as *const [BranchPageElement]
[INFO] [stdout] 192 | |                 as *mut [BranchPageElement])
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 | /             &mut *(self.branch_page_element(index) as *const BranchPageElement
[INFO] [stdout] 209 | |                 as *mut BranchPageElement)
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 | /             &mut *(self.leaf_page_elements() as *const [LeafPageElement]
[INFO] [stdout] 227 | |                 as *mut [LeafPageElement])
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(self.leaf_page_element(index) as *const LeafPageElement as *mut LeafPageElement)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             &mut *(self.meta() as *const Meta as *mut Meta)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             &mut *(self.freelist() as *const [PGID] as *mut [PGID])
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nut` (lib) due to 8 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let mut inode = &mut inodes[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:616:21
[INFO] [stdout]     |
[INFO] [stdout] 616 |                 let mut elem = p.leaf_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:623:21
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 let mut elem = p.branch_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/page/tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut page = Page::from_buf_mut(&mut buf);
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/page/tests.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut page = Page::from_buf_mut(&mut buf);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/bucket/cursor.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &mut *((&*self.bucket) as *const Bucket as *mut Bucket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 | /             &mut *(self.branch_page_elements() as *const [BranchPageElement]
[INFO] [stdout] 192 | |                 as *mut [BranchPageElement])
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 | /             &mut *(self.branch_page_element(index) as *const BranchPageElement
[INFO] [stdout] 209 | |                 as *mut BranchPageElement)
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 | /             &mut *(self.leaf_page_elements() as *const [LeafPageElement]
[INFO] [stdout] 227 | |                 as *mut [LeafPageElement])
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(self.leaf_page_element(index) as *const LeafPageElement as *mut LeafPageElement)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             &mut *(self.meta() as *const Meta as *mut Meta)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             &mut *(self.freelist() as *const [PGID] as *mut [PGID])
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nut` (lib test) due to 8 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d37797ab53dcfa7b3866ca8bec4152e5cbf9d402d195dd94f2fa5d2a41aa9f12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d37797ab53dcfa7b3866ca8bec4152e5cbf9d402d195dd94f2fa5d2a41aa9f12", kill_on_drop: false }`
[INFO] [stdout] d37797ab53dcfa7b3866ca8bec4152e5cbf9d402d195dd94f2fa5d2a41aa9f12
[INFO] checking nut-0.1.1 against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg
[INFO] extracting crate nut 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate nut 0.1.1 on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nut 0.1.1
[INFO] finished tweaking crates.io crate nut 0.1.1
[INFO] tweaked toml for crates.io crate nut 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate crates.io crate nut 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 36e3666277a1abc878dda29e2e0545c7d8309655fecc9c433385611a0d7ed477
[INFO] running `Command { std: "docker" "start" "-a" "36e3666277a1abc878dda29e2e0545c7d8309655fecc9c433385611a0d7ed477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36e3666277a1abc878dda29e2e0545c7d8309655fecc9c433385611a0d7ed477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36e3666277a1abc878dda29e2e0545c7d8309655fecc9c433385611a0d7ed477", kill_on_drop: false }`
[INFO] [stdout] 36e3666277a1abc878dda29e2e0545c7d8309655fecc9c433385611a0d7ed477
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }`
[INFO] [stdout] 7e725626460092e6892af7c565cb66844d006567b98811928ea161897cba9d92
[INFO] running `Command { std: "docker" "start" "-a" "7e725626460092e6892af7c565cb66844d006567b98811928ea161897cba9d92", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking poolcache v0.1.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking page_size v0.4.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking nut v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let mut p = self.page_in_buffer(&mut buf, i);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut p = self.page_in_buffer(&mut buf, 2);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut p = self.page_in_buffer(&mut buf, 3);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let mut inode = &mut inodes[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:616:21
[INFO] [stdout]     |
[INFO] [stdout] 616 |                 let mut elem = p.leaf_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:623:21
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 let mut elem = p.branch_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/bucket/cursor.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &mut *((&*self.bucket) as *const Bucket as *mut Bucket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 | /             &mut *(self.branch_page_elements() as *const [BranchPageElement]
[INFO] [stdout] 192 | |                 as *mut [BranchPageElement])
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 | /             &mut *(self.branch_page_element(index) as *const BranchPageElement
[INFO] [stdout] 209 | |                 as *mut BranchPageElement)
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 | /             &mut *(self.leaf_page_elements() as *const [LeafPageElement]
[INFO] [stdout] 227 | |                 as *mut [LeafPageElement])
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(self.leaf_page_element(index) as *const LeafPageElement as *mut LeafPageElement)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             &mut *(self.meta() as *const Meta as *mut Meta)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             &mut *(self.freelist() as *const [PGID] as *mut [PGID])
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nut` (lib) due to 8 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             let mut p = self.page_in_buffer(&mut buf, i);
[INFO] [stdout]     |                 ----^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let mut p = self.page_in_buffer(&mut buf, 2);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/db/db.rs:311:13
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let mut p = self.page_in_buffer(&mut buf, 3);
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:561:13
[INFO] [stdout]     |
[INFO] [stdout] 561 |         let mut inode = &mut inodes[index];
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:616:21
[INFO] [stdout]     |
[INFO] [stdout] 616 |                 let mut elem = p.leaf_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/node/node.rs:623:21
[INFO] [stdout]     |
[INFO] [stdout] 623 |                 let mut elem = p.branch_page_element_mut(i);
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/page/tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut page = Page::from_buf_mut(&mut buf);
[INFO] [stdout]   |         ----^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/page/tests.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let mut page = Page::from_buf_mut(&mut buf);
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/bucket/cursor.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &mut *((&*self.bucket) as *const Bucket as *mut Bucket)
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
[INFO] [stdout]    = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 | /             &mut *(self.branch_page_elements() as *const [BranchPageElement]
[INFO] [stdout] 192 | |                 as *mut [BranchPageElement])
[INFO] [stdout]     | |____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 | /             &mut *(self.branch_page_element(index) as *const BranchPageElement
[INFO] [stdout] 209 | |                 as *mut BranchPageElement)
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:226:13
[INFO] [stdout]     |
[INFO] [stdout] 226 | /             &mut *(self.leaf_page_elements() as *const [LeafPageElement]
[INFO] [stdout] 227 | |                 as *mut [LeafPageElement])
[INFO] [stdout]     | |__________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             &mut *(self.leaf_page_element(index) as *const LeafPageElement as *mut LeafPageElement)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |             &mut *(self.meta() as *const Meta as *mut Meta)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/page/mod.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             &mut *(self.freelist() as *const [PGID] as *mut [PGID])
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nut` (lib test) due to 8 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7e725626460092e6892af7c565cb66844d006567b98811928ea161897cba9d92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e725626460092e6892af7c565cb66844d006567b98811928ea161897cba9d92", kill_on_drop: false }`
[INFO] [stdout] 7e725626460092e6892af7c565cb66844d006567b98811928ea161897cba9d92
