[INFO] cloning repository https://github.com/hayeb/loz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hayeb/loz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayeb%2Floz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayeb%2Floz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dd5b38c6578388ae0620225f73b0e00fcac9cd7 [INFO] checking hayeb/loz against master#2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 for pr-142723 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhayeb%2Floz" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hayeb/loz on toolchain 2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hayeb/loz [INFO] finished tweaking git repo https://github.com/hayeb/loz [INFO] tweaked toml for git repo https://github.com/hayeb/loz written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hayeb/loz 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" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded llvm-sys v100.2.3 [INFO] [stderr] Downloaded inkwell_internals v0.5.0 [INFO] [stderr] Downloaded inkwell v0.1.0-beta.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f935e630ac285fc22d91bd3ced55070f4972d2090a5ace4b925e68a9cd1d3dd [INFO] running `Command { std: "docker" "start" "-a" "0f935e630ac285fc22d91bd3ced55070f4972d2090a5ace4b925e68a9cd1d3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f935e630ac285fc22d91bd3ced55070f4972d2090a5ace4b925e68a9cd1d3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f935e630ac285fc22d91bd3ced55070f4972d2090a5ace4b925e68a9cd1d3dd", kill_on_drop: false }` [INFO] [stdout] 0f935e630ac285fc22d91bd3ced55070f4972d2090a5ace4b925e68a9cd1d3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2fcf1776b9ccef89993dfe40e9f5c4908e2d2d48" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7b7ab0735ec1ed67682eaf79ddc06d76950fac1f7d4fce2682372b0c655ddaa [INFO] running `Command { std: "docker" "start" "-a" "b7b7ab0735ec1ed67682eaf79ddc06d76950fac1f7d4fce2682372b0c655ddaa", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling inkwell v0.1.0-beta.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Compiling llvm-sys v100.2.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling inkwell_internals v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking loz-compiler v0.1.0 (/opt/rustwide/workdir/core/compiler) [INFO] [stdout] warning: unused import: `TypeVar` [INFO] [stdout] --> core/compiler/src/inferencer.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{Location, Type, TypeScheme, TypeVar}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypeVar` [INFO] [stdout] --> core/compiler/src/inferencer.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{Location, Type, TypeScheme, TypeVar}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 384 | fn generate_function_definitions(&self, _g: &mut VarGenerator) -> Vec { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 384 | fn generate_function_definitions(&self, _g: &mut VarGenerator) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 416 | ) -> FunctionValue { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 416 | ) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 499 | ) -> BasicBlock { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 499 | ) -> BasicBlock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:1857:23 [INFO] [stdout] | [INFO] [stdout] 1857 | fn generate_print(&self, g: &mut VarGenerator, type_to_print: &Rc) -> FunctionValue { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1857 | fn generate_print(&self, g: &mut VarGenerator, type_to_print: &Rc) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:1890:28 [INFO] [stdout] | [INFO] [stdout] 1890 | fn generate_print_bool(&self, g: &mut VarGenerator) -> FunctionValue { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1890 | fn generate_print_bool(&self, g: &mut VarGenerator) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:2134:9 [INFO] [stdout] | [INFO] [stdout] 2134 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2137 | ) -> FunctionValue { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2137 | ) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::rc::Rc` instead of cloning the inner type [INFO] [stdout] --> core/compiler/src/inferencer/grapher.rs:50:63 [INFO] [stdout] | [INFO] [stdout] 50 | ... .get(index_to_name.get(n).unwrap().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:384:38 [INFO] [stdout] | [INFO] [stdout] 384 | fn generate_function_definitions(&self, _g: &mut VarGenerator) -> Vec { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 384 | fn generate_function_definitions(&self, _g: &mut VarGenerator) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 416 | ) -> FunctionValue { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 416 | ) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 499 | ) -> BasicBlock { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 499 | ) -> BasicBlock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:1857:23 [INFO] [stdout] | [INFO] [stdout] 1857 | fn generate_print(&self, g: &mut VarGenerator, type_to_print: &Rc) -> FunctionValue { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1857 | fn generate_print(&self, g: &mut VarGenerator, type_to_print: &Rc) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:1890:28 [INFO] [stdout] | [INFO] [stdout] 1890 | fn generate_print_bool(&self, g: &mut VarGenerator) -> FunctionValue { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1890 | fn generate_print_bool(&self, g: &mut VarGenerator) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> core/compiler/src/generator.rs:2134:9 [INFO] [stdout] | [INFO] [stdout] 2134 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 2137 | ) -> FunctionValue { [INFO] [stdout] | ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 2137 | ) -> FunctionValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&std::rc::Rc` instead of cloning the inner type [INFO] [stdout] --> core/compiler/src/inferencer/grapher.rs:50:63 [INFO] [stdout] | [INFO] [stdout] 50 | ... .get(index_to_name.get(n).unwrap().clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking loz-cli v0.1.0 (/opt/rustwide/workdir/core/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.73s [INFO] running `Command { std: "docker" "inspect" "b7b7ab0735ec1ed67682eaf79ddc06d76950fac1f7d4fce2682372b0c655ddaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b7ab0735ec1ed67682eaf79ddc06d76950fac1f7d4fce2682372b0c655ddaa", kill_on_drop: false }` [INFO] [stdout] b7b7ab0735ec1ed67682eaf79ddc06d76950fac1f7d4fce2682372b0c655ddaa