[INFO] cloning repository https://github.com/illumination-k/ods-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/illumination-k/ods-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumination-k%2Fods-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumination-k%2Fods-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 052cf03b0b103dc43beb993074a5c4b7b952dd68 [INFO] testing illumination-k/ods-rust against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fillumination-k%2Fods-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/illumination-k/ods-rust [INFO] finished tweaking git repo https://github.com/illumination-k/ods-rust [INFO] tweaked toml for git repo https://github.com/illumination-k/ods-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/illumination-k/ods-rust on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/illumination-k/ods-rust 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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8060052b5a2a159a90d5404627f63c983031a788f73d2702b1817d286b962542 [INFO] running `Command { std: "docker" "start" "-a" "8060052b5a2a159a90d5404627f63c983031a788f73d2702b1817d286b962542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8060052b5a2a159a90d5404627f63c983031a788f73d2702b1817d286b962542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8060052b5a2a159a90d5404627f63c983031a788f73d2702b1817d286b962542", kill_on_drop: false }` [INFO] [stdout] 8060052b5a2a159a90d5404627f63c983031a788f73d2702b1817d286b962542 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00ee6ab4d23124e68cb57ed6dfbea6712fbd0cece364f553540ff0620b8ad6b8 [INFO] running `Command { std: "docker" "start" "-a" "00ee6ab4d23124e68cb57ed6dfbea6712fbd0cece364f553540ff0620b8ad6b8", kill_on_drop: false }` [INFO] [stderr] Compiling open-data-structure-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/list/selist/mod.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut u = cursor.current.clone(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/list/selist/mod.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut u = cursor.current.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `splice_node` and `spread` are never used [INFO] [stdout] --> src/list/selist/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 100 | impl SEList { [INFO] [stdout] | ---------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | fn splice_node( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn spread(&mut self, mut cur: Cursor) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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/list/selist/mod.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { self.current.map(|cur| &(*cur.as_ptr()).d[self.j]) } [INFO] [stdout] | ^^------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut selist::Node` [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: `&BDeque` [INFO] [stdout] --> src/list/selist/mod.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | unsafe { self.current.map(|cur| &(*cur.as_ptr()).d[self.j]) } [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] 83 | unsafe { self.current.map(|cur| &(&(*cur.as_ptr()).d)[self.j]) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/list/selist/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe { self.current.map(|cur| &mut (*cur.as_ptr()).d[self.j])} [INFO] [stdout] | ^^------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut selist::Node` [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 BDeque` [INFO] [stdout] --> src/list/selist/mod.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | unsafe { self.current.map(|cur| &mut (*cur.as_ptr()).d[self.j])} [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] 87 | unsafe { self.current.map(|cur| &mut (&mut (*cur.as_ptr()).d)[self.j])} [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/list/selist/mod.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | fn get_location(&self, mut index: usize) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | fn get_location(&self, mut index: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `open-data-structure-rs` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00ee6ab4d23124e68cb57ed6dfbea6712fbd0cece364f553540ff0620b8ad6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ee6ab4d23124e68cb57ed6dfbea6712fbd0cece364f553540ff0620b8ad6b8", kill_on_drop: false }` [INFO] [stdout] 00ee6ab4d23124e68cb57ed6dfbea6712fbd0cece364f553540ff0620b8ad6b8