[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] checking sunjay/lion against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flion" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunjay/lion on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallstr v0.1.0 [INFO] [stderr] Downloaded terminfo v0.6.1 [INFO] [stderr] Downloaded nom_locate v0.3.1 [INFO] [stderr] Downloaded mortal v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2533db0a8536b1a6e5fb06af03cdb46e71b4017a721c5c6b88c0303ef84793ec [INFO] running `Command { std: "docker" "start" "-a" "2533db0a8536b1a6e5fb06af03cdb46e71b4017a721c5c6b88c0303ef84793ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2533db0a8536b1a6e5fb06af03cdb46e71b4017a721c5c6b88c0303ef84793ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2533db0a8536b1a6e5fb06af03cdb46e71b4017a721c5c6b88c0303ef84793ec", kill_on_drop: false }` [INFO] [stdout] 2533db0a8536b1a6e5fb06af03cdb46e71b4017a721c5c6b88c0303ef84793ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dd42fa5964c2e4da9bd52afb103764e944d91e9889e47d7b69a6b18d13c3b7f [INFO] running `Command { std: "docker" "start" "-a" "2dd42fa5964c2e4da9bd52afb103764e944d91e9889e47d7b69a6b18d13c3b7f", 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 version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling nix v0.13.0 [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] Checking smallvec v0.6.9 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking smallstr v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking bytecount v0.3.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking nom_locate v0.3.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking petgraph v0.4.13 [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] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking mortal v0.2.0 [INFO] [stderr] Checking linefeed v0.6.0 [INFO] [stderr] Checking lion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [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] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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] 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: elided lifetime has a name [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] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [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] 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)]` 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: 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)]` 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.40s [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 1` [INFO] running `Command { std: "docker" "inspect" "2dd42fa5964c2e4da9bd52afb103764e944d91e9889e47d7b69a6b18d13c3b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd42fa5964c2e4da9bd52afb103764e944d91e9889e47d7b69a6b18d13c3b7f", kill_on_drop: false }` [INFO] [stdout] 2dd42fa5964c2e4da9bd52afb103764e944d91e9889e47d7b69a6b18d13c3b7f