[INFO] fetching crate ABtree 0.8.0... [INFO] checking ABtree-0.8.0 against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] extracting crate ABtree 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ABtree 0.8.0 [INFO] finished tweaking crates.io crate ABtree 0.8.0 [INFO] tweaked toml for crates.io crate ABtree 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ABtree 0.8.0 on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ABtree-0.8.0 against try#c0a9760914bada211f4924ee16d41ae1a366d2ba for pr-148545 [INFO] extracting crate ABtree 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ABtree 0.8.0 [INFO] finished tweaking crates.io crate ABtree 0.8.0 [INFO] tweaked toml for crates.io crate ABtree 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ABtree 0.8.0 on toolchain c0a9760914bada211f4924ee16d41ae1a366d2ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba88c0855a836075a0207203d5d989d1355729ed86d7c5a8da7e1236d12abf0 [INFO] running `Command { std: "docker" "start" "-a" "cba88c0855a836075a0207203d5d989d1355729ed86d7c5a8da7e1236d12abf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba88c0855a836075a0207203d5d989d1355729ed86d7c5a8da7e1236d12abf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba88c0855a836075a0207203d5d989d1355729ed86d7c5a8da7e1236d12abf0", kill_on_drop: false }` [INFO] [stdout] cba88c0855a836075a0207203d5d989d1355729ed86d7c5a8da7e1236d12abf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+c0a9760914bada211f4924ee16d41ae1a366d2ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 554462b77b533cd9050065a403ce46129b3de880dc622cc202adc3d78462e8b4 [INFO] running `Command { std: "docker" "start" "-a" "554462b77b533cd9050065a403ce46129b3de880dc622cc202adc3d78462e8b4", kill_on_drop: false }` [INFO] [stderr] Checking ABtree v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: crate `ABtree` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `abtree` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod A; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod B; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AVL` should have a snake case name [INFO] [stdout] --> src/A/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod AVL; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `avl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/A/AVL.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | type OpNode = Option>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Btree` should have a snake case name [INFO] [stdout] --> src/B/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Btree; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | type OpNode = Option>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | type InnerData = Option>>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Children = Option>>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | (*c.as_ptr())[idx] [INFO] [stdout] | ^^----------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>>>` [INFO] [stdout] --> src/B/Btree.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | (*c.as_ptr())[idx] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 61 | (&(*c.as_ptr()))[idx] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | ... (*inner_d.as_ptr())[idx].value = new_d.value; [INFO] [stdout] | ^^----------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | ... (*inner_d.as_ptr())[idx].value = new_d.value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 339 | (&mut (*inner_d.as_ptr()))[idx].value = new_d.value; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1021:39 [INFO] [stdout] | [INFO] [stdout] 1021 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1021:39 [INFO] [stdout] | [INFO] [stdout] 1021 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1021 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1027:39 [INFO] [stdout] | [INFO] [stdout] 1027 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1027:39 [INFO] [stdout] | [INFO] [stdout] 1027 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1027 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod A; [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `B` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod B; [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1060:39 [INFO] [stdout] | [INFO] [stdout] 1060 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1060:39 [INFO] [stdout] | [INFO] [stdout] 1060 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1060 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `AVL` should have a snake case name [INFO] [stdout] --> src/A/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod AVL; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `avl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/A/AVL.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | type OpNode = Option>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1070:39 [INFO] [stdout] | [INFO] [stdout] 1070 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1070:39 [INFO] [stdout] | [INFO] [stdout] 1070 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1070 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ABtree` (lib) due to 10 previous errors; 9 warnings emitted [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1129:39 [INFO] [stdout] | [INFO] [stdout] 1129 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1129:39 [INFO] [stdout] | [INFO] [stdout] 1129 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1129 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1135:39 [INFO] [stdout] | [INFO] [stdout] 1135 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1135:39 [INFO] [stdout] | [INFO] [stdout] 1135 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1135 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1140 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1149:39 [INFO] [stdout] | [INFO] [stdout] 1149 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1149:39 [INFO] [stdout] | [INFO] [stdout] 1149 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1149 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Btree` should have a snake case name [INFO] [stdout] --> src/B/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Btree; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `btree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | type OpNode = Option>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | type InnerData = Option>>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/B/Btree.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | type Children = Option>>>; [INFO] [stdout] | --^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | (*c.as_ptr())[idx] [INFO] [stdout] | ^^----------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>>>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>>>` [INFO] [stdout] --> src/B/Btree.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | (*c.as_ptr())[idx] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 61 | (&(*c.as_ptr()))[idx] [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | ... (*inner_d.as_ptr())[idx].value = new_d.value; [INFO] [stdout] | ^^----------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&mut VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:339:33 [INFO] [stdout] | [INFO] [stdout] 339 | ... (*inner_d.as_ptr())[idx].value = new_d.value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 339 | (&mut (*inner_d.as_ptr()))[idx].value = new_d.value; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1021:39 [INFO] [stdout] | [INFO] [stdout] 1021 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1021:39 [INFO] [stdout] | [INFO] [stdout] 1021 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1021 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1027:39 [INFO] [stdout] | [INFO] [stdout] 1027 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1027:39 [INFO] [stdout] | [INFO] [stdout] 1027 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1027 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1060:39 [INFO] [stdout] | [INFO] [stdout] 1060 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1060:39 [INFO] [stdout] | [INFO] [stdout] 1060 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1060 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1070:39 [INFO] [stdout] | [INFO] [stdout] 1070 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1070:39 [INFO] [stdout] | [INFO] [stdout] 1070 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1070 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1129:39 [INFO] [stdout] | [INFO] [stdout] 1129 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1129:39 [INFO] [stdout] | [INFO] [stdout] 1129 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1129 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1135:39 [INFO] [stdout] | [INFO] [stdout] 1135 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1135:39 [INFO] [stdout] | [INFO] [stdout] 1135 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1135 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1140:39 [INFO] [stdout] | [INFO] [stdout] 1140 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1140 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/B/Btree.rs:1149:39 [INFO] [stdout] | [INFO] [stdout] 1149 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut VecDeque>` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&VecDeque>` [INFO] [stdout] --> src/B/Btree.rs:1149:39 [INFO] [stdout] | [INFO] [stdout] 1149 | ... .map(|d| &(*d.as_ptr())[cur_idx]) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 1149 | .map(|d| &(&(*d.as_ptr()))[cur_idx]) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ABtree` (lib test) due to 10 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "554462b77b533cd9050065a403ce46129b3de880dc622cc202adc3d78462e8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "554462b77b533cd9050065a403ce46129b3de880dc622cc202adc3d78462e8b4", kill_on_drop: false }` [INFO] [stdout] 554462b77b533cd9050065a403ce46129b3de880dc622cc202adc3d78462e8b4