[INFO] cloning repository https://github.com/sunjay/lion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunjay/lion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97daa3de1a7e7714432c2a6d04b11a0ce35d4ec8 [INFO] testing sunjay/lion against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flion" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunjay/lion [INFO] finished tweaking git repo https://github.com/sunjay/lion [INFO] tweaked toml for git repo https://github.com/sunjay/lion written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunjay/lion on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunjay/lion 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78b161d710636a61bdd342dcbbb78b6bf89394cf1302aabe2c2c839dc4e97370 [INFO] running `Command { std: "docker" "start" "-a" "78b161d710636a61bdd342dcbbb78b6bf89394cf1302aabe2c2c839dc4e97370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78b161d710636a61bdd342dcbbb78b6bf89394cf1302aabe2c2c839dc4e97370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78b161d710636a61bdd342dcbbb78b6bf89394cf1302aabe2c2c839dc4e97370", kill_on_drop: false }` [INFO] [stdout] 78b161d710636a61bdd342dcbbb78b6bf89394cf1302aabe2c2c839dc4e97370 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 842117408a72c1b05fa5d3a30abdfd1c67a4b5e29b423dc744bfa198b7502a94 [INFO] running `Command { std: "docker" "start" "-a" "842117408a72c1b05fa5d3a30abdfd1c67a4b5e29b423dc744bfa198b7502a94", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling smallstr v0.1.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling nom_locate v0.3.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling terminfo v0.6.1 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling mortal v0.2.0 [INFO] [stderr] Compiling linefeed v0.6.0 [INFO] [stderr] Compiling lion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | unit_invariants_debug!(lhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | unit_invariants_debug!(rhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/unit_graph.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConversionPath { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | start: CanonicalUnit, [INFO] [stdout] 24 | end: CanonicalUnit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/symbols.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | Constant { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 11 | value: Number, [INFO] [stdout] 12 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/symbols.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Function(Function<'a>, Span<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - Function(Function<'a>, Span<'a>), [INFO] [stdout] 14 + Function((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_program(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 15 | pub fn parse_program(input: &str) -> ParseResult<'_, Program<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit_graph.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result { [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] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/canonical.rs:107:91 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | -- -- -- ^^^^^^^^^^--^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, terminfo v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "842117408a72c1b05fa5d3a30abdfd1c67a4b5e29b423dc744bfa198b7502a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842117408a72c1b05fa5d3a30abdfd1c67a4b5e29b423dc744bfa198b7502a94", kill_on_drop: false }` [INFO] [stdout] 842117408a72c1b05fa5d3a30abdfd1c67a4b5e29b423dc744bfa198b7502a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5310ba05ccc8e085a38e62781c6590344143731230955c1afb30732e3202be3a [INFO] running `Command { std: "docker" "start" "-a" "5310ba05ccc8e085a38e62781c6590344143731230955c1afb30732e3202be3a", kill_on_drop: false }` [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | unit_invariants_debug!(lhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | unit_invariants_debug!(rhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/unit_graph.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConversionPath { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | start: CanonicalUnit, [INFO] [stdout] 24 | end: CanonicalUnit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/symbols.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | Constant { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 11 | value: Number, [INFO] [stdout] 12 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/symbols.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Function(Function<'a>, Span<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - Function(Function<'a>, Span<'a>), [INFO] [stdout] 14 + Function((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_program(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 15 | pub fn parse_program(input: &str) -> ParseResult<'_, Program<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit_graph.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result { [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] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/canonical.rs:107:91 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | -- -- -- ^^^^^^^^^^--^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling lion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | unit_invariants_debug!(lhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/canonical.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | unit_invariants_debug!(rhs); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/unit_graph.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ConversionPath { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 23 | start: CanonicalUnit, [INFO] [stdout] 24 | end: CanonicalUnit, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConversionPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/symbols.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | Constant { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 11 | value: Number, [INFO] [stdout] 12 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/symbols.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Function(Function<'a>, Span<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 14 - Function(Function<'a>, Span<'a>), [INFO] [stdout] 14 + Function((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/ast.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | UnitName::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 238 | let _ = UnitName::from(""); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> src/ast.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | UnitName::from("_"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 244 | let _ = UnitName::from("_"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_program(input: &str) -> ParseResult { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 15 | pub fn parse_program(input: &str) -> ParseResult<'_, Program<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit_graph.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result { [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] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/symbols.rs:42:28 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol> { [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] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/canonical.rs:107:91 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | -- -- -- ^^^^^^^^^^--^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | the same lifetime is named here [INFO] [stdout] | | | | the same lifetime is elided here [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [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] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, terminfo v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5310ba05ccc8e085a38e62781c6590344143731230955c1afb30732e3202be3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5310ba05ccc8e085a38e62781c6590344143731230955c1afb30732e3202be3a", kill_on_drop: false }` [INFO] [stdout] 5310ba05ccc8e085a38e62781c6590344143731230955c1afb30732e3202be3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64037a8e35ed12f780825593a6b6e4f89b3c3f1bee2271a70d2b09694250f5ec [INFO] running `Command { std: "docker" "start" "-a" "64037a8e35ed12f780825593a6b6e4f89b3c3f1bee2271a70d2b09694250f5ec", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `debug` [INFO] [stderr] --> src/canonical.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg(debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | unit_invariants_debug!(lhs); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `debug` [INFO] [stderr] --> src/canonical.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | #[cfg(debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 209 | unit_invariants_debug!(rhs); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `unit_invariants_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `end` is never read [INFO] [stderr] --> src/unit_graph.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct ConversionPath { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 23 | start: CanonicalUnit, [INFO] [stderr] 24 | end: CanonicalUnit, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConversionPath` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `span` is never read [INFO] [stderr] --> src/symbols.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 10 | Constant { [INFO] [stderr] | -------- field in this variant [INFO] [stderr] 11 | value: Number, [INFO] [stderr] 12 | span: Span<'a>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/symbols.rs:14:14 [INFO] [stderr] | [INFO] [stderr] 14 | Function(Function<'a>, Span<'a>), [INFO] [stderr] | -------- ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `SymType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 14 - Function(Function<'a>, Span<'a>), [INFO] [stderr] 14 + Function((), ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn parse_program(input: &str) -> ParseResult { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | pub fn parse_program(input: &str) -> ParseResult<'_, Program<'_>> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/unit_graph.rs:88:20 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 88 | pub fn unit_id(&self, name: &UnitName<'a>) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/symbols.rs:33:25 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol> { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 33 | pub fn insert_const(&mut self, name: Ident<'a>, value: Number, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/symbols.rs:42:28 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol> { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn insert_function(&mut self, name: Ident<'a>, function: Function<'a>, span: Span<'a>) -> Result<(), DuplicateSymbol<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/canonical.rs:107:91 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stderr] | -- -- -- ^^^^^^^^^^--^ [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | the same lifetime is named here [INFO] [stderr] | | | | the same lifetime is elided here [INFO] [stderr] | | | the lifetime is named here [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 107 | pub fn iter_unit_names<'a>(&'a self, units: &'a UnitGraph<'a>) -> impl Iterator, i64)> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stderr] --> src/ast.rs:238:9 [INFO] [stderr] | [INFO] [stderr] 238 | UnitName::from(""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 238 | let _ = UnitName::from(""); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stderr] --> src/ast.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | UnitName::from("_"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 244 | let _ = UnitName::from("_"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `lion` (lib) generated 10 warnings (run `cargo fix --lib -p lion` to apply 5 suggestions) [INFO] [stderr] warning: `lion` (lib test) generated 12 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3, terminfo v0.6.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lion-90b1cefda774948d) [INFO] [stdout] running 26 tests [INFO] [stdout] test ast::tests::format_unit_name ... ok [INFO] [stdout] test canonical::tests::division ... ok [INFO] [stdout] test canonical::tests::pow ... ok [INFO] [stdout] test canonical::tests::multiplication ... ok [INFO] [stdout] test parser::tests::ident_path_parser ... ok [INFO] [stdout] test parser::tests::let_decl_parser ... ok [INFO] [stdout] test parser::tests::function_parser ... ok [INFO] [stdout] test parser::tests::numeric_literal_parser ... ok [INFO] [stdout] test parser::tests::comment_parser ... ok [INFO] [stdout] test parser::tests::float_literal_parser ... ok [INFO] [stdout] test parser::tests::ident_parser ... ok [INFO] [stdout] test parser::tests::unitpow_parser ... ok [INFO] [stdout] test parser::tests::expr_parser ... ok [INFO] [stdout] test parser::tests::integer_literal_parser ... ok [INFO] [stdout] test parser::tests::compound_unit_parser ... ok [INFO] [stdout] test parser::tests::unitfactor_parser ... ok [INFO] [stdout] test parser::tests::unitterm_parser ... ok [INFO] [stdout] test parser::tests::whitespace_comment_parser ... ok [INFO] [stdout] test parser::tests::whitespace_parser ... ok [INFO] [stdout] test unit_graph::tests::unitless_exists ... ok [INFO] [stdout] test parser::tests::program_parser ... ok [INFO] [stdout] test parser::tests::unit_parser ... ok [INFO] [stdout] test interpreter::tests::conversions ... ok [INFO] [stdout] test interpreter::tests::readme ... ok [INFO] [stdout] test ast::tests::unit_name_empty - should panic ... ok [INFO] [stderr] Running unittests src/bin/lion.rs (/opt/rustwide/target/debug/deps/lion-74485fe192837eb5) [INFO] [stdout] test ast::tests::unit_name_unitless - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lion [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64037a8e35ed12f780825593a6b6e4f89b3c3f1bee2271a70d2b09694250f5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64037a8e35ed12f780825593a6b6e4f89b3c3f1bee2271a70d2b09694250f5ec", kill_on_drop: false }` [INFO] [stdout] 64037a8e35ed12f780825593a6b6e4f89b3c3f1bee2271a70d2b09694250f5ec