[INFO] cloning repository https://github.com/territory-dev/territory-oss [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/territory-dev/territory-oss" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterritory-dev%2Fterritory-oss", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterritory-dev%2Fterritory-oss'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77d67a21f91ddd6c86db067dcb874884839be22b [INFO] testing territory-dev/territory-oss against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterritory-dev%2Fterritory-oss" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/territory-dev/territory-oss [INFO] finished tweaking git repo https://github.com/territory-dev/territory-oss [INFO] tweaked toml for git repo https://github.com/territory-dev/territory-oss written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/territory-dev/territory-oss on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/territory-dev/territory-oss 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded pythonize v0.20.0 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded wasm-streams v0.4.2 [INFO] [stderr] Downloaded clang v2.0.0 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded rusqlite v0.30.0 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded proptest v1.6.0 [INFO] [stderr] Downloaded clap_builder v4.5.35 [INFO] [stderr] Downloaded plotters v0.3.7 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded sysinfo v0.26.9 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded binaryornot v1.0.0 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded clap v4.5.35 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded google-cloud-storage v0.15.0 [INFO] [stderr] Downloaded plotters-backend v0.3.7 [INFO] [stderr] Downloaded google-cloud-auth v0.13.2 [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded pyo3 v0.20.3 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded testdir v0.8.1 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded plotters-svg v0.3.7 [INFO] [stderr] Downloaded google-cloud-metadata v0.4.0 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded chardet v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca3cfa3804a425745630ad8e7815df97070b203b7ae01c0700f91da7b8e895cb [INFO] running `Command { std: "docker" "start" "-a" "ca3cfa3804a425745630ad8e7815df97070b203b7ae01c0700f91da7b8e895cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca3cfa3804a425745630ad8e7815df97070b203b7ae01c0700f91da7b8e895cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3cfa3804a425745630ad8e7815df97070b203b7ae01c0700f91da7b8e895cb", kill_on_drop: false }` [INFO] [stdout] ca3cfa3804a425745630ad8e7815df97070b203b7ae01c0700f91da7b8e895cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec763ce9ac8cde2ad0db642e3b95a0c8e92ae6f007ee6db72333792717200824 [INFO] running `Command { std: "docker" "start" "-a" "ec763ce9ac8cde2ad0db642e3b95a0c8e92ae6f007ee6db72333792717200824", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling cc v1.2.18 [INFO] [stderr] Compiling rusqlite v0.30.0 [INFO] [stderr] Compiling sysinfo v0.26.9 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling chardet v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling clang v2.0.0 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling binaryornot v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling territory_core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling pythonize v0.20.0 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling testdir v0.8.1 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/ser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIdWithOffsetHref` [INFO] [stdout] --> core/src/token_writer.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::territory::index::{token::Href, NodeIdWithOffsetHref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `decode_many`, and `node_id` [INFO] [stdout] --> core/src/resolver.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | ...p, decode_many}, ser::{self, node_id}, slicemap_trie::{QueryResult, SlicemapReader}, territory::index::{self as pb, BlobSliceLoc}, GenHref, Node, N... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | return Ok(JsValue::from_serde(&loc).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:181:96 [INFO] [stdout] | [INFO] [stdout] 181 | ... let prom: js_sys::Promise = more.call1(&JsValue::null(), &JsValue::from_serde(&loc).unwrap())?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(JsValue::from_serde(&internal_node).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `territory::index::Token::references` [INFO] [stdout] --> core/src/lib.rs:495:58 [INFO] [stdout] | [INFO] [stdout] 495 | references: if let Some(legacy_tok_id) = pbtok.references { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_utils::format::JsValueSerdeExt` [INFO] [stdout] --> core/src/wasm_bindings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gloo_utils::format::JsValueSerdeExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/ser.rs:81:76 [INFO] [stdout] | [INFO] [stdout] 81 | Some(Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset })) => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/lib.rs:721:82 [INFO] [stdout] | [INFO] [stdout] 721 | pb::token::Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset }) => GenHref::NodeId(*node_id), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> core/src/ser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> core/src/node_diff.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl CNode { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `existing_assignment` is never read [INFO] [stdout] --> core/src/node_diff.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | orig: &'a [CNode], [INFO] [stdout] 35 | existing_assignment: &'a [usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/token_writer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 15 | vec: &'a mut Vec, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> TokenWriter { [INFO] [stdout] | ^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> TokenWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/slicemap_trie.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn lock<'a>(&'a self) -> CacheAccess { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 161 | pub fn lock<'a>(&'a self) -> CacheAccess<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cscanner v0.1.0 (/opt/rustwide/workdir/indexers/cscanner) [INFO] [stderr] Compiling tt v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> client/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PyDict` and `PyNone` [INFO] [stdout] --> client/src/lib.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use pyo3::types::{PyBytes, PyDict, PyNone}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyIOError` [INFO] [stdout] --> client/src/lib.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | use pyo3::exceptions::{PyKeyError, PyRuntimeError, PyValueError, PyIOError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 79 | impl SharedResolverCache { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 143 | impl PyTrieIndex { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clangrs v0.1.0 (/opt/rustwide/workdir/indexers/clangrs) [INFO] [stdout] warning: unused import: `IndexItemKind` [INFO] [stdout] --> indexers/clangrs/src/testlib.rs:21:76 [INFO] [stdout] | [INFO] [stdout] 21 | use territory_core::territory::index::{Node, References, Build, IndexItem, IndexItemKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GToken`, `HyperlinkedTokenContext`, and `TokenKind` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> indexers/clangrs/src/slicemap_trie_writer.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::args::{Args, CompressionMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeID` [INFO] [stdout] --> indexers/clangrs/src/unparsed_listing.rs:9:86 [INFO] [stdout] | [INFO] [stdout] 9 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> indexers/clangrs/src/looks.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | (_, Some(def_name)) if def_sem.is_definition => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blob_id` is never read [INFO] [stdout] --> indexers/clangrs/src/writer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct BlobSummary { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 370 | pub length: usize, [INFO] [stdout] 371 | pub blob_id: BlobID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "ec763ce9ac8cde2ad0db642e3b95a0c8e92ae6f007ee6db72333792717200824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec763ce9ac8cde2ad0db642e3b95a0c8e92ae6f007ee6db72333792717200824", kill_on_drop: false }` [INFO] [stdout] ec763ce9ac8cde2ad0db642e3b95a0c8e92ae6f007ee6db72333792717200824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218f8852e2c49dada6231339e1099d92c2a0fa4c4c1da909f4a14e85c3ad686d [INFO] running `Command { std: "docker" "start" "-a" "218f8852e2c49dada6231339e1099d92c2a0fa4c4c1da909f4a14e85c3ad686d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling territory_core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/ser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIdWithOffsetHref` [INFO] [stdout] --> core/src/token_writer.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::territory::index::{token::Href, NodeIdWithOffsetHref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `decode_many`, and `node_id` [INFO] [stdout] --> core/src/resolver.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | ...p, decode_many}, ser::{self, node_id}, slicemap_trie::{QueryResult, SlicemapReader}, territory::index::{self as pb, BlobSliceLoc}, GenHref, Node, N... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> core/src/ser.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeIdWithOffsetHref` [INFO] [stdout] --> core/src/token_writer.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::territory::index::{token::Href, NodeIdWithOffsetHref}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Node`, `decode_many`, and `node_id` [INFO] [stdout] --> core/src/resolver.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | ...p, decode_many}, ser::{self, node_id}, slicemap_trie::{QueryResult, SlicemapReader}, territory::index::{self as pb, BlobSliceLoc}, GenHref, Node, N... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | return Ok(JsValue::from_serde(&loc).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:181:96 [INFO] [stdout] | [INFO] [stdout] 181 | ... let prom: js_sys::Promise = more.call1(&JsValue::null(), &JsValue::from_serde(&loc).unwrap())?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(JsValue::from_serde(&internal_node).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:171:40 [INFO] [stdout] | [INFO] [stdout] 171 | return Ok(JsValue::from_serde(&loc).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:181:96 [INFO] [stdout] | [INFO] [stdout] 181 | ... let prom: js_sys::Promise = more.call1(&JsValue::null(), &JsValue::from_serde(&loc).unwrap())?.try_into().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(JsValue::from_serde(&internal_node).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:89:36 [INFO] [stdout] | [INFO] [stdout] 89 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> core/src/wasm_bindings.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | return Ok(JsValue::from_serde(&results).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `territory::index::Token::references` [INFO] [stdout] --> core/src/lib.rs:495:58 [INFO] [stdout] | [INFO] [stdout] 495 | references: if let Some(legacy_tok_id) = pbtok.references { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_utils::format::JsValueSerdeExt` [INFO] [stdout] --> core/src/wasm_bindings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gloo_utils::format::JsValueSerdeExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/ser.rs:81:76 [INFO] [stdout] | [INFO] [stdout] 81 | Some(Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset })) => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `territory::index::Token::references` [INFO] [stdout] --> core/src/lib.rs:495:58 [INFO] [stdout] | [INFO] [stdout] 495 | references: if let Some(legacy_tok_id) = pbtok.references { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_utils::format::JsValueSerdeExt` [INFO] [stdout] --> core/src/wasm_bindings.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gloo_utils::format::JsValueSerdeExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/ser.rs:81:76 [INFO] [stdout] | [INFO] [stdout] 81 | Some(Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset })) => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/lib.rs:721:82 [INFO] [stdout] | [INFO] [stdout] 721 | pb::token::Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset }) => GenHref::NodeId(*node_id), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> core/src/ser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> core/src/node_diff.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl CNode { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `existing_assignment` is never read [INFO] [stdout] --> core/src/node_diff.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | orig: &'a [CNode], [INFO] [stdout] 35 | existing_assignment: &'a [usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/token_writer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 15 | vec: &'a mut Vec, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> TokenWriter { [INFO] [stdout] | ^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> TokenWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/slicemap_trie.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn lock<'a>(&'a self) -> CacheAccess { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 161 | pub fn lock<'a>(&'a self) -> CacheAccess<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> core/src/lib.rs:721:82 [INFO] [stdout] | [INFO] [stdout] 721 | pb::token::Href::NodeIdWithOffsetRef(NodeIdWithOffsetHref { node_id, offset }) => GenHref::NodeId(*node_id), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `offset: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> core/src/ser.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn serialize( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `existing_assignment` is never read [INFO] [stdout] --> core/src/node_diff.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct State<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | orig: &'a [CNode], [INFO] [stdout] 35 | existing_assignment: &'a [usize], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/token_writer.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 15 | vec: &'a mut Vec, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 19 | ) -> TokenWriter { [INFO] [stdout] | ^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 19 | ) -> TokenWriter<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> core/src/slicemap_trie.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn lock<'a>(&'a self) -> CacheAccess { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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] 161 | pub fn lock<'a>(&'a self) -> CacheAccess<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cscanner v0.1.0 (/opt/rustwide/workdir/indexers/cscanner) [INFO] [stderr] Compiling tt v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> client/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PyDict` and `PyNone` [INFO] [stdout] --> client/src/lib.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use pyo3::types::{PyBytes, PyDict, PyNone}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyIOError` [INFO] [stdout] --> client/src/lib.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | use pyo3::exceptions::{PyKeyError, PyRuntimeError, PyValueError, PyIOError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> client/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PyDict` and `PyNone` [INFO] [stdout] --> client/src/lib.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use pyo3::types::{PyBytes, PyDict, PyNone}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PyIOError` [INFO] [stdout] --> client/src/lib.rs:9:66 [INFO] [stdout] | [INFO] [stdout] 9 | use pyo3::exceptions::{PyKeyError, PyRuntimeError, PyValueError, PyIOError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 79 | impl SharedResolverCache { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 143 | impl PyTrieIndex { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 79 | impl SharedResolverCache { [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | `SharedResolverCache` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> client/src/lib.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | #[pymethods] [INFO] [stdout] | -^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PyClassImplCollector` is not local [INFO] [stdout] | `PyClassNewTextSignature` is not local [INFO] [stdout] | move the `impl` block outside of this function `trampoline` and up 4 bodies [INFO] [stdout] 143 | impl PyTrieIndex { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | `PyTrieIndex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `pymethods` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `pymethods` may come from an old version of the `pyo3_macros` crate, try updating your dependency with `cargo update -p pyo3_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the attribute macro `pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clangrs v0.1.0 (/opt/rustwide/workdir/indexers/clangrs) [INFO] [stdout] warning: unused import: `IndexItemKind` [INFO] [stdout] --> indexers/clangrs/src/testlib.rs:21:76 [INFO] [stdout] | [INFO] [stdout] 21 | use territory_core::territory::index::{Node, References, Build, IndexItem, IndexItemKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GToken`, `HyperlinkedTokenContext`, and `TokenKind` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> indexers/clangrs/src/slicemap_trie_writer.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::args::{Args, CompressionMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeID` [INFO] [stdout] --> indexers/clangrs/src/unparsed_listing.rs:9:86 [INFO] [stdout] | [INFO] [stdout] 9 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IndexItemKind` [INFO] [stdout] --> indexers/clangrs/src/testlib.rs:21:76 [INFO] [stdout] | [INFO] [stdout] 21 | use territory_core::territory::index::{Node, References, Build, IndexItem, IndexItemKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GToken`, `HyperlinkedTokenContext`, and `TokenKind` [INFO] [stdout] --> indexers/clangrs/src/serial_stage.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Args` [INFO] [stdout] --> indexers/clangrs/src/slicemap_trie_writer.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::args::{Args, CompressionMode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::testlib::defaut_args` [INFO] [stdout] --> indexers/clangrs/src/slicemap_trie_writer.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | use crate::testlib::defaut_args; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> indexers/clangrs/src/looks.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | (_, Some(def_name)) if def_sem.is_definition => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeID` [INFO] [stdout] --> indexers/clangrs/src/unparsed_listing.rs:9:86 [INFO] [stdout] | [INFO] [stdout] 9 | GToken, HNBlob, HyperlinkedNodeContext, HyperlinkedTokenContext, Location, Node, NodeID, NodeKind, RelativePath, TokenKind [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blob_id` is never read [INFO] [stdout] --> indexers/clangrs/src/writer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct BlobSummary { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 370 | pub length: usize, [INFO] [stdout] 371 | pub blob_id: BlobID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_name` [INFO] [stdout] --> indexers/clangrs/src/looks.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | (_, Some(def_name)) if def_sem.is_definition => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `blob_id` is never read [INFO] [stdout] --> indexers/clangrs/src/writer.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 369 | pub struct BlobSummary { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 370 | pub length: usize, [INFO] [stdout] 371 | pub blob_id: BlobID, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> indexers/clangrs/tests/search_index_test.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> indexers/clangrs/tests/search_index_test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcBMTu45/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libclangrs-44f2eb542eab91dc,libbinaryornot-7413d2bd8bfe3771,libencoding-12cd434b271d2a34,libencoding_index_tradchinese-103ea0db005794df,libencoding_index_simpchinese-0f28173b02550510,libencoding_index_japanese-e831acb7dcb52763,libencoding_index_korean-78858c5b57d45170,libencoding_index_singlebyte-91b4ce467b9b7660,libchardet-870af747f9d2f912,libcrossbeam_channel-a5156ef294398bef,libcrossbeam_utils-57acb8582d3ed5fe,libsimplelog-87a4fc7613754e4b,libtime-fcfe3a9fd0c3c79a,libnum_threads-c1a0ff78db7a07a9,libtime_core-45a5f0d549950b2a,libnum_conv-2c976fbf8b8f2899,libderanged-3ca21461b8e5f612,libpowerfmt-a0c185df26c26a22,libtermcolor-96a9ed65821a6544,libtokio-bad2ab1caaf10ed9,libsignal_hook_registry-687515474082a5ff,libsocket2-9149772878673f01,libmio-5762f551af69e07c,libparking_lot-abf00dc5d1fbc1c4,libparking_lot_core-4c91ba71c9bc20f0,liblock_api-47948af6bba6d2a8,libscopeguard-d52bd00767847e44,libpin_project_lite-bedc6e0acd72ff2a,libcscanner-d731901022281d21,libif_chain-e7621d9e2b9f49b4,libclang-a641c273a98d9388,libclang_sys-1011a05cd9dd5874,liblibloading-df5cfb344c8aef33,libglob-b1d792528bd08356,libnix-b17f951cfea2651e,libitertools-ce4ba48c51eb5f00,libeither-2af7c8622d8fa52e,libring-da1667c48444ce83,libuntrusted-3420b86308bec153,libflate2-b3480250beb56134,libcrc32fast-ec6b1847c42b19ed,liblog-ba604b77dad33fe2,libterritory_core,libwasm_bindgen_futures-b3fe8b88d0507361,libserde_wasm_bindgen-2fd990ad6ef20566,libserde_bytes-aabf8f84c8ed1645,libregex-ed00a127b8e728c6,libregex_automata-33e717a2ce96fbe4,libaho_corasick-50150a17a2667fa6,libregex_syntax-13fc688ae7f36982,libgloo_utils-7bb7d959be1602f4,libweb_sys-838e027731cc2723,libjs_sys-bb0646ffafedae0f,libwasm_bindgen-754528d8ab998fd6,librand-5bb29e78b703aec3,librand_chacha-f3fa6ef9fa1d7d20,libppv_lite86-ad22283f97e8e369,libzerocopy-c1e5f46d1ee09af2,librand_core-bd58787bcad814f9,libgetrandom-95ad5024e0b01cb4,liblazy_static-b3603208c0de2608,libsimilar-70f326dcabf6fce0,libprost-d73b8e8f0dcf9587,libbytes-bfe11088fe358bd1,librusqlite-1cb02229704f1cb4,libbitflags-ec9e26e8384cfc98,libsmallvec-e1beddfb3e414035,libfallible_streaming_iterator-5c0d4caa328bdf11,libfallible_iterator-b208eca984a9b185,libhashlink-81bda1406f23043d,libhashbrown-529f7dc744c801d1,libahash-f9a2a0c4e9265422,libzerocopy-f2bcfdbe4f2d40f5,liballocator_api2-3bc2480ae44878f3,liblibsqlite3_sys-6abc9e7184c8db1d,libclap-16f7977d7157c78b,libclap_builder-c59869195c7510d6,libstrsim-24acdad2526b95b7,libanstream-3a5850ea78bcd0e3,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libclap_lex-8f7e36dc12b04c16,libanstyle-df82d657645c4a5c,libtestdir-b016a84a1f51c64f,libbacktrace-ec882aff0d39e6f6,libminiz_oxide-72957411e009f840,libadler2-b931b79841890bad,libobject-4c53634e02b95112,libaddr2line-9b33b1b221c0ad25,libgimli-672214083c0de216,librustc_demangle-f257d5a904da7bce,libwhoami-f9bf569a60e11a69,libcargo_metadata-ab35e7a1636b646e,libserde_json-11f3d45bb63fbf61,libmemchr-4f0714dc45d95749,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libcargo_platform-8935374004b1cb07,libsemver-c02211d82f30ae54,libcamino-c6726534434ca552,libserde-1029a53dcb018f39,libsysinfo-7f6f732470b48645,liblibc-063f2c6ffb470557,libcfg_if-33ef6c02a07f9fec,libanyhow-75a9af91c5a25be8,libonce_cell-0ba6aecba7086d38}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ldl" "-lsqlite3" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcBMTu45/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-5009449b45e6680f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/incremental_tests-24ddbededc28b3c8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clangrs` (test "incremental_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcoZMbDe/symbols.o" "<11 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libclangrs-44f2eb542eab91dc,libbinaryornot-7413d2bd8bfe3771,libencoding-12cd434b271d2a34,libencoding_index_tradchinese-103ea0db005794df,libencoding_index_simpchinese-0f28173b02550510,libencoding_index_japanese-e831acb7dcb52763,libencoding_index_korean-78858c5b57d45170,libencoding_index_singlebyte-91b4ce467b9b7660,libchardet-870af747f9d2f912,libcrossbeam_channel-a5156ef294398bef,libcrossbeam_utils-57acb8582d3ed5fe,libsimplelog-87a4fc7613754e4b,libtime-fcfe3a9fd0c3c79a,libnum_threads-c1a0ff78db7a07a9,libtime_core-45a5f0d549950b2a,libnum_conv-2c976fbf8b8f2899,libderanged-3ca21461b8e5f612,libpowerfmt-a0c185df26c26a22,libtermcolor-96a9ed65821a6544,libtokio-bad2ab1caaf10ed9,libsignal_hook_registry-687515474082a5ff,libsocket2-9149772878673f01,libmio-5762f551af69e07c,libparking_lot-abf00dc5d1fbc1c4,libparking_lot_core-4c91ba71c9bc20f0,liblock_api-47948af6bba6d2a8,libscopeguard-d52bd00767847e44,libpin_project_lite-bedc6e0acd72ff2a,libcscanner-d731901022281d21,libif_chain-e7621d9e2b9f49b4,libclang-a641c273a98d9388,libclang_sys-1011a05cd9dd5874,liblibloading-df5cfb344c8aef33,libglob-b1d792528bd08356,libnix-b17f951cfea2651e,libitertools-ce4ba48c51eb5f00,libeither-2af7c8622d8fa52e,libring-da1667c48444ce83,libuntrusted-3420b86308bec153,libflate2-b3480250beb56134,libcrc32fast-ec6b1847c42b19ed,liblog-ba604b77dad33fe2,libterritory_core,libwasm_bindgen_futures-b3fe8b88d0507361,libserde_wasm_bindgen-2fd990ad6ef20566,libserde_bytes-aabf8f84c8ed1645,libregex-ed00a127b8e728c6,libregex_automata-33e717a2ce96fbe4,libaho_corasick-50150a17a2667fa6,libregex_syntax-13fc688ae7f36982,libgloo_utils-7bb7d959be1602f4,libweb_sys-838e027731cc2723,libjs_sys-bb0646ffafedae0f,libwasm_bindgen-754528d8ab998fd6,librand-5bb29e78b703aec3,librand_chacha-f3fa6ef9fa1d7d20,libppv_lite86-ad22283f97e8e369,libzerocopy-c1e5f46d1ee09af2,librand_core-bd58787bcad814f9,libgetrandom-95ad5024e0b01cb4,liblazy_static-b3603208c0de2608,libsimilar-70f326dcabf6fce0,libtestdir-b016a84a1f51c64f,libbacktrace-ec882aff0d39e6f6,libminiz_oxide-72957411e009f840,libadler2-b931b79841890bad,libobject-4c53634e02b95112,libaddr2line-9b33b1b221c0ad25,libgimli-672214083c0de216,librustc_demangle-f257d5a904da7bce,libwhoami-f9bf569a60e11a69,libcargo_metadata-ab35e7a1636b646e,libserde_json-11f3d45bb63fbf61,libmemchr-4f0714dc45d95749,libitoa-6b76ec393d6a2c41,libryu-0ea4bafc9bef6d8b,libcargo_platform-8935374004b1cb07,libsemver-c02211d82f30ae54,libcamino-c6726534434ca552,libserde-1029a53dcb018f39,libsysinfo-7f6f732470b48645,liblibc-063f2c6ffb470557,libanyhow-75a9af91c5a25be8,libprost-d73b8e8f0dcf9587,libbytes-bfe11088fe358bd1,librusqlite-1cb02229704f1cb4,libbitflags-ec9e26e8384cfc98,libsmallvec-e1beddfb3e414035,libfallible_streaming_iterator-5c0d4caa328bdf11,libfallible_iterator-b208eca984a9b185,libhashlink-81bda1406f23043d,libhashbrown-529f7dc744c801d1,libahash-f9a2a0c4e9265422,libonce_cell-0ba6aecba7086d38,libcfg_if-33ef6c02a07f9fec,libzerocopy-f2bcfdbe4f2d40f5,liballocator_api2-3bc2480ae44878f3,liblibsqlite3_sys-6abc9e7184c8db1d,libclap-16f7977d7157c78b,libclap_builder-c59869195c7510d6,libstrsim-24acdad2526b95b7,libanstream-3a5850ea78bcd0e3,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libclap_lex-8f7e36dc12b04c16,libanstyle-df82d657645c4a5c}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-ldl" "-lsqlite3" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcoZMbDe/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/ring-5009449b45e6680f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/search_index_test-428ec64d8db50aef" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clangrs` (test "search_index_test") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "218f8852e2c49dada6231339e1099d92c2a0fa4c4c1da909f4a14e85c3ad686d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218f8852e2c49dada6231339e1099d92c2a0fa4c4c1da909f4a14e85c3ad686d", kill_on_drop: false }` [INFO] [stdout] 218f8852e2c49dada6231339e1099d92c2a0fa4c4c1da909f4a14e85c3ad686d