[INFO] fetching crate cojson 0.6.0... [INFO] testing cojson-0.6.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cojson 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cojson 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cojson 0.6.0 [INFO] tweaked toml for crates.io crate cojson 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cojson 0.6.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 167 packages to latest compatible versions [INFO] [stderr] Adding bytesize v1.3.3 (available: v2.2.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding imbl v1.0.1 (available: v6.1.0) [INFO] [stderr] Adding jemalloc-ctl v0.3.3 (available: v0.5.4) [INFO] [stderr] Adding jemallocator v0.3.2 (available: v0.5.4) [INFO] [stderr] Adding ordered-float v2.10.1 (available: v5.1.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding zip v0.5.13 (available: v6.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9351d5aaf7706e0f01290b5fee9b254e5827b959ca14b8bfc2d30e9d803e5aa3 [INFO] running `Command { std: "docker" "start" "-a" "9351d5aaf7706e0f01290b5fee9b254e5827b959ca14b8bfc2d30e9d803e5aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9351d5aaf7706e0f01290b5fee9b254e5827b959ca14b8bfc2d30e9d803e5aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9351d5aaf7706e0f01290b5fee9b254e5827b959ca14b8bfc2d30e9d803e5aa3", kill_on_drop: false }` [INFO] [stdout] 9351d5aaf7706e0f01290b5fee9b254e5827b959ca14b8bfc2d30e9d803e5aa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01d47317d8b2872ba41f4ecb10fc3de73566d696e64d4bee72a49685b10eafc9 [INFO] running `Command { std: "docker" "start" "-a" "01d47317d8b2872ba41f4ecb10fc3de73566d696e64d4bee72a49685b10eafc9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling litl-nanval v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling tagged-box v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling z-base-32 v0.1.4 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling thousands v0.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling imbl v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deepsize_derive v0.1.2 [INFO] [stderr] Compiling deepsize v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling ti64 v0.1.5 [INFO] [stderr] Compiling litl-val v0.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling litl v0.6.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling cojson v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/view/jmbl_view.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | borrow::Borrow, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last` is never used [INFO] [stdout] --> src/sort.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub(crate) trait IndexableList { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 90 | fn last(&self) -> Option<&T>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UncertaintyStrategy` is never used [INFO] [stdout] --> src/text/text_view.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | enum UncertaintyStrategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/list/list_state.rs:216:65 [INFO] [stdout] | [INFO] [stdout] 216 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is elided 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 216 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sort.rs:91:65 [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sort.rs:107:65 [INFO] [stdout] | [INFO] [stdout] 107 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 107 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/sort.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 125 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/sparse_vector.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { (*self.data.get()).get(at) } [INFO] [stdout] | ^^---------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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: `&[T]` [INFO] [stdout] --> src/sparse_vector.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | unsafe { (*self.data.get()).get(at) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `get` require a reference [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/slice/mod.rs:570:4 [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] 203 | unsafe { (&(*self.data.get())).get(at) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/sparse_vector.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { &(*self.data.get())[0..self.this_len as usize] } [INFO] [stdout] | ^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Vec` [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: `&Vec` [INFO] [stdout] --> src/sparse_vector.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { &(*self.data.get())[0..self.this_len as usize] } [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] 214 | unsafe { &(&(*self.data.get()))[0..self.this_len as usize] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/view/jmbl_view.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn get(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn get(&self) -> Ref<'_, JMBLView> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/view/jmbl_view.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn get_mut(&self) -> RefMut { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn get_mut(&self) -> RefMut<'_, JMBLView> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cojson` (lib) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01d47317d8b2872ba41f4ecb10fc3de73566d696e64d4bee72a49685b10eafc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d47317d8b2872ba41f4ecb10fc3de73566d696e64d4bee72a49685b10eafc9", kill_on_drop: false }` [INFO] [stdout] 01d47317d8b2872ba41f4ecb10fc3de73566d696e64d4bee72a49685b10eafc9