[INFO] fetching crate smetamath 3.0.0... [INFO] checking smetamath-3.0.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate smetamath 3.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate smetamath 3.0.0 [INFO] finished tweaking crates.io crate smetamath 3.0.0 [INFO] tweaked toml for crates.io crate smetamath 3.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate smetamath 3.0.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.47) [INFO] [stderr] Adding filetime v0.1.15 (available: v0.2.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d49fee2ce7245a953372fbda41121eb830bb760e0787722d5983a02192780fe3 [INFO] running `Command { std: "docker" "start" "-a" "d49fee2ce7245a953372fbda41121eb830bb760e0787722d5983a02192780fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d49fee2ce7245a953372fbda41121eb830bb760e0787722d5983a02192780fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49fee2ce7245a953372fbda41121eb830bb760e0787722d5983a02192780fe3", kill_on_drop: false }` [INFO] [stdout] d49fee2ce7245a953372fbda41121eb830bb760e0787722d5983a02192780fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cbf87789f7dc3a7d55e0f6a309437335dad4e63c672860bd09133b303551f29 [INFO] running `Command { std: "docker" "start" "-a" "7cbf87789f7dc3a7d55e0f6a309437335dad4e63c672860bd09133b303551f29", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking smetamath v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let metadata = try!(fs::metadata(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | try!(fh.read_to_end(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | let mut fh = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | struct Job(usize, Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | struct Job(usize, Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Promise(Box T + Send>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Promise(Box T + Send>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | fn queue_work(exec: &Executor, estimate: usize, mut f: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn queue_work(exec: &Executor, estimate: usize, mut f: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | let metadata = try!(fs::metadata(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | try!(fh.read_to_end(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/segment_set.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | let mut fh = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | struct Job(usize, Box); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | struct Job(usize, Box); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Promise(Box T + Send>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 133 | pub struct Promise(Box T + Send>); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/database.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | fn queue_work(exec: &Executor, estimate: usize, mut f: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn queue_work(exec: &Executor, estimate: usize, mut f: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | let mut ns = Arc::make_mut(self.prev_nameset.as_mut().unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | let mut ns = Arc::make_mut(self.prev_scopes.as_mut().unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let mut ver = Arc::make_mut(self.prev_verify.as_mut().unwrap()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 247 | let mut ns = Arc::make_mut(self.prev_nameset.as_mut().unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:268:25 [INFO] [stdout] | [INFO] [stdout] 268 | let mut ns = Arc::make_mut(self.prev_scopes.as_mut().unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let mut ver = Arc::make_mut(self.prev_verify.as_mut().unwrap()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `const_address` is never read [INFO] [stdout] --> src/nameck.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct LookupSymbol { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 284 | pub const_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label` and `typecode` are never read [INFO] [stdout] --> src/nameck.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct LookupFloat<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 290 | pub label: TokenPtr<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 291 | pub typecode: TokenPtr<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/nameck.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct LookupGlobalDv<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 296 | pub address: StatementAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/scopeck.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct LocalEssentialInfo<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 83 | valid: GlobalRange, [INFO] [stdout] 84 | label: TokenPtr<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEssentialInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/segment_set.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SourceInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 43 | pub name: String, [INFO] [stdout] 44 | pub text: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LongStr` is never constructed [INFO] [stdout] --> src/util.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct LongStr<'a>(pub &'a [u8]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nameck.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn atom_name(&self, atom: Atom) -> TokenPtr { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn atom_name(&self, atom: Atom) -> TokenPtr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nameck.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn lookup_global_dv(&mut self) -> Vec { [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] 395 | pub fn lookup_global_dv(&mut self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn segments(&self) -> Vec { [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] 75 | pub fn segments(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn segment(&self, seg_id: SegmentId) -> SegmentRef { [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] 89 | pub fn segment(&self, seg_id: SegmentId) -> SegmentRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn statement(&self, addr: StatementAddress) -> StatementRef { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn statement(&self, addr: StatementAddress) -> StatementRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | &vec[from]; // for the bounds check [INFO] [stdout] | ^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &vec[from]; // for the bounds check [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `const_address` is never read [INFO] [stdout] --> src/nameck.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct LookupSymbol { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 284 | pub const_address: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label` and `typecode` are never read [INFO] [stdout] --> src/nameck.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct LookupFloat<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 290 | pub label: TokenPtr<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 291 | pub typecode: TokenPtr<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> src/nameck.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 295 | pub struct LookupGlobalDv<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 296 | pub address: StatementAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/scopeck.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct LocalEssentialInfo<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 83 | valid: GlobalRange, [INFO] [stdout] 84 | label: TokenPtr<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocalEssentialInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/segment_set.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct SourceInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 43 | pub name: String, [INFO] [stdout] 44 | pub text: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LongStr` is never constructed [INFO] [stdout] --> src/util.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct LongStr<'a>(pub &'a [u8]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nameck.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn atom_name(&self, atom: Atom) -> TokenPtr { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 248 | pub fn atom_name(&self, atom: Atom) -> TokenPtr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nameck.rs:395:29 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn lookup_global_dv(&mut self) -> Vec { [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] 395 | pub fn lookup_global_dv(&mut self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn segments(&self) -> Vec { [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] 75 | pub fn segments(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn segment(&self, seg_id: SegmentId) -> SegmentRef { [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] 89 | pub fn segment(&self, seg_id: SegmentId) -> SegmentRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_set.rs:100:22 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn statement(&self, addr: StatementAddress) -> StatementRef { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn statement(&self, addr: StatementAddress) -> StatementRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/util.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | &vec[from]; // for the bounds check [INFO] [stdout] | ^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &vec[from]; // for the bounds check [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "7cbf87789f7dc3a7d55e0f6a309437335dad4e63c672860bd09133b303551f29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cbf87789f7dc3a7d55e0f6a309437335dad4e63c672860bd09133b303551f29", kill_on_drop: false }` [INFO] [stdout] 7cbf87789f7dc3a7d55e0f6a309437335dad4e63c672860bd09133b303551f29