[INFO] cloning repository https://github.com/kylerchin/Corundum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylerchin/Corundum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2FCorundum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2FCorundum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0adc8fee7b7e5631854f542c014e2ceb4ad2eb [INFO] checking kylerchin/Corundum against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2FCorundum" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylerchin/Corundum on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kylerchin/Corundum [INFO] finished tweaking git repo https://github.com/kylerchin/Corundum [INFO] tweaked toml for git repo https://github.com/kylerchin/Corundum written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kylerchin/Corundum 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crndm_derive v0.1.1 [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded term-painter v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cddeb417bf421758e93997b0745ab36050aff466d5d55a9f430b6257e4498627 [INFO] running `Command { std: "docker" "start" "-a" "cddeb417bf421758e93997b0745ab36050aff466d5d55a9f430b6257e4498627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cddeb417bf421758e93997b0745ab36050aff466d5d55a9f430b6257e4498627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddeb417bf421758e93997b0745ab36050aff466d5d55a9f430b6257e4498627", kill_on_drop: false }` [INFO] [stdout] cddeb417bf421758e93997b0745ab36050aff466d5d55a9f430b6257e4498627 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5813f94d1d88171eb62db8d7cdd8602caa48c355a518067c0bcce5751b3f34af [INFO] running `Command { std: "docker" "start" "-a" "5813f94d1d88171eb62db8d7cdd8602caa48c355a518067c0bcce5751b3f34af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking term-painter v0.3.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling crndm_derive v0.1.1 [INFO] [stderr] Checking corundum v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | #![feature(str_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/prc.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PmemUsage` is imported redundantly [INFO] [stdout] --> src/prc.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `PmemUsage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/prc.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/prc.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | use std::fmt::{self,Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | use std::*; [INFO] [stdout] | ------ the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stm::{Journal, Log, Notifier, Logger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PmemUsage` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PmemUsage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/stm/journal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/stm/log.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PRefCell` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `PRefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::cell::PRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] 10 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] 10 | use crate::stm::Journal; [INFO] [stdout] 11 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootCell` is imported redundantly [INFO] [stdout] --> src/alloc/pool.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cell::{RootCell, RootObj}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `RootCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootObj` is imported redundantly [INFO] [stdout] --> src/alloc/pool.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cell::{RootCell, RootObj}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `RootObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootCell` is imported redundantly [INFO] [stdout] --> src/alloc/heap.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::RootCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RootCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LazyCell` is imported redundantly [INFO] [stdout] --> src/alloc/heap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `LazyCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::cell::LazyCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/boxed.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/boxed.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use crate::stm::{Journal, Logger}; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stm::{Journal, Logger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PFrom` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::convert::PFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `PFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::stm::Journal; [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 16 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] ... [INFO] [stdout] 518 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{MemPool,PoolGuard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PoolGuard` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{MemPool,PoolGuard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `PoolGuard` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] 5 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/str.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::borrow::{Cow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PFrom` is imported redundantly [INFO] [stdout] --> src/vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::convert::PFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `get_idx` is imported redundantly [INFO] [stdout] --> src/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::get_idx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `get_idx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/vec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/vec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/marker.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | #![feature(rustc_attrs)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `str_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | #![feature(str_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/prc.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PmemUsage` is imported redundantly [INFO] [stdout] --> src/prc.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `PmemUsage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/prc.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fmt` is imported redundantly [INFO] [stdout] --> src/prc.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | use std::fmt::{self,Debug}; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | use std::*; [INFO] [stdout] | ------ the item `fmt` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/sync/mutex.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stm::{Journal, Log, Notifier, Logger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PmemUsage` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::{MemPool, PmemUsage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PmemUsage` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/sync/parc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/stm/journal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/stm/log.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PRefCell` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `PRefCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 10 | use crate::cell::PRefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/stl/hashmap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/gen.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] 10 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/gen.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] 10 | use crate::stm::Journal; [INFO] [stdout] 11 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootObj` is imported redundantly [INFO] [stdout] --> src/alloc/alg/buddy.rs:750:9 [INFO] [stdout] | [INFO] [stdout] 750 | use crate::RootObj; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 751 | use crate::default::*; [INFO] [stdout] | ----------------- the item `RootObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootCell` is imported redundantly [INFO] [stdout] --> src/alloc/pool.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cell::{RootCell, RootObj}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `RootCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootObj` is imported redundantly [INFO] [stdout] --> src/alloc/pool.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cell::{RootCell, RootObj}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use crate::*; [INFO] [stdout] | -------- the item `RootObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPoolTraits` is imported redundantly [INFO] [stdout] --> src/alloc/pool.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | use crate::alloc::pool::MemPoolTraits; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 1321 | use crate::default::*; [INFO] [stdout] | ----------------- the item `MemPoolTraits` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootCell` is imported redundantly [INFO] [stdout] --> src/alloc/heap.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cell::RootCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `RootCell` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LazyCell` is imported redundantly [INFO] [stdout] --> src/alloc/heap.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::*; [INFO] [stdout] | -------- the item `LazyCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use crate::cell::LazyCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/boxed.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Unpin` is imported redundantly [INFO] [stdout] --> src/boxed.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::marker::Unpin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Unpin` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use crate::stm::{Journal, Logger}; [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/cell.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::stm::{Journal, Logger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PFrom` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::convert::PFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `PFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::stm::Journal; [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VCell` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `VCell` is already imported here [INFO] [stdout] ... [INFO] [stdout] 16 | use crate::cell::VCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/cell/refcell.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] ... [INFO] [stdout] 518 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{MemPool,PoolGuard}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PoolGuard` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::alloc::{MemPool,PoolGuard}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `PoolGuard` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Journal` is imported redundantly [INFO] [stdout] --> src/cell/rootcell.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::*; [INFO] [stdout] | -------- the item `Journal` is already imported here [INFO] [stdout] 5 | use crate::stm::Journal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/str.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | use std::borrow::{Cow, ToOwned}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PFrom` is imported redundantly [INFO] [stdout] --> src/vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::convert::PFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `get_idx` is imported redundantly [INFO] [stdout] --> src/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::alloc::get_idx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `get_idx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/vec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::alloc::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PClone` is imported redundantly [INFO] [stdout] --> src/vec.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::clone::PClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | use crate::*; [INFO] [stdout] | -------- the item `PClone` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RootObj` is imported redundantly [INFO] [stdout] --> src/vec.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | use crate::RootObj; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1289 | use crate::default::*; [INFO] [stdout] | ----------------- the item `RootObj` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/marker.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MemPool` is imported redundantly [INFO] [stdout] --> src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::MemPool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use crate::default::*; [INFO] [stdout] | ----------------- the item `MemPool` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertTxInSafe`, `LooseTxInUnsafe`, `PClone`, `Root`, `ToPStringSlice`, `ToPString`, `TxInSafe`, `TxOutSafe`, `VSafe`, `transaction` [INFO] [stdout] --> src/alloc/alg/buddy.rs:1023:17 [INFO] [stdout] | [INFO] [stdout] 1023 | TxInSafe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1024 | TxOutSafe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1025 | LooseTxInUnsafe, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1026 | AssertTxInSafe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1027 | VSafe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1028 | transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1029 | open_flags, [INFO] [stdout] 1030 | PClone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1031 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1032 | RootObj, [INFO] [stdout] 1033 | ToPString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1034 | ToPStringSlice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:427:9 [INFO] [stdout] | [INFO] [stdout] 427 | crate::pool!(pool1, P1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertTxInSafe`, `LooseTxInUnsafe`, `PClone`, `Root`, `ToPStringSlice`, `ToPString`, `TxInSafe`, `TxOutSafe`, `VSafe`, `transaction` [INFO] [stdout] --> src/alloc/alg/buddy.rs:1023:17 [INFO] [stdout] | [INFO] [stdout] 1023 | TxInSafe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1024 | TxOutSafe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1025 | LooseTxInUnsafe, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1026 | AssertTxInSafe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1027 | VSafe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1028 | transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1029 | open_flags, [INFO] [stdout] 1030 | PClone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1031 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1032 | RootObj, [INFO] [stdout] 1033 | ToPString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1034 | ToPStringSlice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | crate::pool!(pool2, P2); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertTxInSafe`, `LooseTxInUnsafe`, `PClone`, `Root`, `ToPStringSlice`, `ToPString`, `TxInSafe`, `TxOutSafe`, `VSafe`, `transaction` [INFO] [stdout] --> src/alloc/alg/buddy.rs:1023:17 [INFO] [stdout] | [INFO] [stdout] 1023 | TxInSafe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1024 | TxOutSafe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1025 | LooseTxInUnsafe, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1026 | AssertTxInSafe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1027 | VSafe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1028 | transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1029 | open_flags, [INFO] [stdout] 1030 | PClone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1031 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1032 | RootObj, [INFO] [stdout] 1033 | ToPString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1034 | ToPStringSlice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:768:9 [INFO] [stdout] | [INFO] [stdout] 768 | crate::pool!(pool1, P1); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertTxInSafe`, `LooseTxInUnsafe`, `PClone`, `Root`, `ToPStringSlice`, `ToPString`, `TxInSafe`, `TxOutSafe`, `VSafe`, `transaction` [INFO] [stdout] --> src/alloc/alg/buddy.rs:1023:17 [INFO] [stdout] | [INFO] [stdout] 1023 | TxInSafe, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 1024 | TxOutSafe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1025 | LooseTxInUnsafe, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 1026 | AssertTxInSafe, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 1027 | VSafe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1028 | transaction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1029 | open_flags, [INFO] [stdout] 1030 | PClone, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1031 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1032 | RootObj, [INFO] [stdout] 1033 | ToPString, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1034 | ToPStringSlice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:769:9 [INFO] [stdout] | [INFO] [stdout] 769 | crate::pool!(pool2, P2); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::pool` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `toowned_clone_into` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | #![feature(toowned_clone_into)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | #![feature(backtrace)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `type_name_of_val` has been stable since 1.76.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(type_name_of_val)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `toowned_clone_into` has been stable since 1.63.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | #![feature(toowned_clone_into)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stat.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hist) = &mut HIST { [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hist) = addr_of_mut!(HIST) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stat.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(points) = &mut POINTS { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(points) = addr_of_mut!(POINTS) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stat.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hist) = &mut HIST { [INFO] [stdout] | ^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hist) = addr_of_mut!(HIST) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/stat.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(points) = &mut POINTS { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | if let Some(points) = addr_of_mut!(POINTS) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/alloc/heap.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | &HEAD [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 152 | addr_of!(HEAD) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/alloc/heap.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | &HEAD [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 152 | addr_of!(HEAD) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/tests.rs:1162:30 [INFO] [stdout] | [INFO] [stdout] 1162 | f.read_exact(&mut BUF).unwrap(); [INFO] [stdout] | ^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 1162 | f.read_exact(addr_of_mut!(BUF)).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [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/prc.rs:1296:36 [INFO] [stdout] | [INFO] [stdout] 1295 | let ptr: *mut Self = ptr as *mut Self; [INFO] [stdout] | ---------------- casting happend here [INFO] [stdout] 1296 | let rcbox: &mut Self = &mut *ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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/sync/mutex.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | &mut *(ptr as *mut Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/ptr/non_null.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 40 | std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 40 | std::ptr::eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/ptr/non_null.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 173 | std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 173 | std::ptr::eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++ ~ + [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/cell/refcell.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | &mut *(ptr as *mut Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corundum` (lib) due to 4 previous errors; 52 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/prc.rs:1296:36 [INFO] [stdout] | [INFO] [stdout] 1295 | let ptr: *mut Self = ptr as *mut Self; [INFO] [stdout] | ---------------- casting happend here [INFO] [stdout] 1296 | let rcbox: &mut Self = &mut *ptr; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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/sync/mutex.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | &mut *(ptr as *mut Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/ptr/non_null.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 40 | std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 40 | std::ptr::eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++ ~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected [INFO] [stdout] --> src/ptr/non_null.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | self.ptr == other.ptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses [INFO] [stdout] | [INFO] [stdout] 173 | std::ptr::addr_eq(self.ptr, other.ptr) [INFO] [stdout] | ++++++++++++++++++ ~ + [INFO] [stdout] help: use explicit `std::ptr::eq` method to compare metadata and addresses [INFO] [stdout] | [INFO] [stdout] 173 | std::ptr::eq(self.ptr, other.ptr) [INFO] [stdout] | +++++++++++++ ~ + [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/cell/refcell.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | &mut *(ptr as *mut Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [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] [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/tests.rs:1389:40 [INFO] [stdout] | [INFO] [stdout] 1388 | let m: *mut [u8] = m as *mut [u8]; [INFO] [stdout] | -------------- casting happend here [INFO] [stdout] 1389 | let m: &mut [u8] = &mut *m; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corundum` (lib test) due to 5 previous errors; 61 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5813f94d1d88171eb62db8d7cdd8602caa48c355a518067c0bcce5751b3f34af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5813f94d1d88171eb62db8d7cdd8602caa48c355a518067c0bcce5751b3f34af", kill_on_drop: false }` [INFO] [stdout] 5813f94d1d88171eb62db8d7cdd8602caa48c355a518067c0bcce5751b3f34af [INFO] checking kylerchin/Corundum against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylerchin%2FCorundum" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylerchin/Corundum on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/kylerchin/Corundum [INFO] finished tweaking git repo https://github.com/kylerchin/Corundum [INFO] tweaked toml for git repo https://github.com/kylerchin/Corundum written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kylerchin/Corundum 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d364fab8b9fe89f8917dec286f09969d590dcf4b730be361ee8aa6b561d97074 [INFO] running `Command { std: "docker" "start" "-a" "d364fab8b9fe89f8917dec286f09969d590dcf4b730be361ee8aa6b561d97074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d364fab8b9fe89f8917dec286f09969d590dcf4b730be361ee8aa6b561d97074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d364fab8b9fe89f8917dec286f09969d590dcf4b730be361ee8aa6b561d97074", kill_on_drop: false }` [INFO] [stdout] d364fab8b9fe89f8917dec286f09969d590dcf4b730be361ee8aa6b561d97074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee9f2021e102be60b893b0b80d776189d3c6f2c5b5a344c4654dca268eda73b [INFO] running `Command { std: "docker" "start" "-a" "1ee9f2021e102be60b893b0b80d776189d3c6f2c5b5a344c4654dca268eda73b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "1ee9f2021e102be60b893b0b80d776189d3c6f2c5b5a344c4654dca268eda73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee9f2021e102be60b893b0b80d776189d3c6f2c5b5a344c4654dca268eda73b", kill_on_drop: false }` [INFO] [stdout] 1ee9f2021e102be60b893b0b80d776189d3c6f2c5b5a344c4654dca268eda73b