[INFO] cloning repository https://github.com/jfrikker/scrap-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfrikker/scrap-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fscrap-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fscrap-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b235df425a96890d5ea758c1954361b83b6a43ae
[INFO] checking jfrikker/scrap-rs against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfrikker%2Fscrap-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jfrikker/scrap-rs
[INFO] finished tweaking git repo https://github.com/jfrikker/scrap-rs
[INFO] tweaked toml for git repo https://github.com/jfrikker/scrap-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jfrikker/scrap-rs on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jfrikker/scrap-rs 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/TheDan64/inkwell`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded parking_lot_core v0.9.6
[INFO] [stderr]   Downloaded semver v1.0.16
[INFO] [stderr]   Downloaded cc v1.0.78
[INFO] [stderr]   Downloaded llvm-sys v140.0.3
[INFO] [stderr]   Downloaded nom v7.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 81556a575a4550ef28970745fd6d459d89b77dfbaf940dfad4549af378c7d8c3
[INFO] running `Command { std: "docker" "start" "-a" "81556a575a4550ef28970745fd6d459d89b77dfbaf940dfad4549af378c7d8c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "81556a575a4550ef28970745fd6d459d89b77dfbaf940dfad4549af378c7d8c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81556a575a4550ef28970745fd6d459d89b77dfbaf940dfad4549af378c7d8c3", kill_on_drop: false }`
[INFO] [stdout] 81556a575a4550ef28970745fd6d459d89b77dfbaf940dfad4549af378c7d8c3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 182528e29a138f550d5be2ab3b7e83e09c4c40ccbaf529dcbdb181cd6033aa48
[INFO] running `Command { std: "docker" "start" "-a" "182528e29a138f550d5be2ab3b7e83e09c4c40ccbaf529dcbdb181cd6033aa48", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling semver v1.0.16
[INFO] [stderr]    Compiling regex-syntax v0.6.28
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#3c5d7706)
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]     Checking either v1.8.0
[INFO] [stderr]     Checking nom v7.1.2
[INFO] [stderr]    Compiling aho-corasick v0.7.20
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling regex v1.7.1
[INFO] [stderr]    Compiling llvm-sys v140.0.3
[INFO] [stderr]    Compiling inkwell_internals v0.6.0 (https://github.com/TheDan64/inkwell?branch=master#3c5d7706)
[INFO] [stderr]     Checking scrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `fmt::Write`, `replace`, and `swap`
[INFO] [stdout]  --> src/generator.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Write, mem::{replace, swap}};
[INFO] [stdout]   |           ^^^^^^^^^^        ^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/parser.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |            Some(a) => (
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 216 | |              todo!()
[INFO] [stdout]     | | ____________^_______^
[INFO] [stdout]     | ||____________|
[INFO] [stdout]     |  |
[INFO] [stdout] ...    |
[INFO] [stdout] 222 |  |         ),
[INFO] [stdout]     |  |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 215 -         Some(a) => (
[INFO] [stdout] 216 -             todo!()
[INFO] [stdout] 217 -             // name.to_string(),
[INFO] [stdout] 218 -             // sir::Expression::Lambda {
[INFO] [stdout] 219 -             //     arguments: a,
[INFO] [stdout] 220 -             //     body: Box::new(body),
[INFO] [stdout] 221 -             // },
[INFO] [stdout] 222 -         ),
[INFO] [stdout] 215 +         Some(a) => todo!() ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fmt::Write`, `replace`, and `swap`
[INFO] [stdout]  --> src/generator.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Write, mem::{replace, swap}};
[INFO] [stdout]   |           ^^^^^^^^^^        ^^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/parser.rs:215:20
[INFO] [stdout]     |
[INFO] [stdout] 215 |            Some(a) => (
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 216 | |              todo!()
[INFO] [stdout]     | | ____________^_______^
[INFO] [stdout]     | ||____________|
[INFO] [stdout]     |  |
[INFO] [stdout] ...    |
[INFO] [stdout] 222 |  |         ),
[INFO] [stdout]     |  |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 215 -         Some(a) => (
[INFO] [stdout] 216 -             todo!()
[INFO] [stdout] 217 -             // name.to_string(),
[INFO] [stdout] 218 -             // sir::Expression::Lambda {
[INFO] [stdout] 219 -             //     arguments: a,
[INFO] [stdout] 220 -             //     body: Box::new(body),
[INFO] [stdout] 221 -             // },
[INFO] [stdout] 222 -         ),
[INFO] [stdout] 215 +         Some(a) => todo!() ,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/parser.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Some(a) => (
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mangle` is never used
[INFO] [stdout]   --> src/sir.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl DataType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn mangle(&self, out: &mut impl Write) -> fmt::Result {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mangle` is never used
[INFO] [stdout]    --> src/sir.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl PrimitiveDataType {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] 127 |     fn mangle(&self, out: &mut impl Write) -> fmt::Result {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Divide`, `Multiply`, and `Subtract` are never constructed
[INFO] [stdout]    --> src/sir.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub enum BinaryOperation {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] 137 |     Add,
[INFO] [stdout] 138 |     Divide,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 139 |     Multiply,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 140 |     Subtract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryOperation` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sir.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn data_type(&self) -> Cow<DataType> {
[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] 41 |     pub fn data_type(&self) -> Cow<'_, DataType> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sir.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn fields(&self) -> Vec<(Cow<String>, &DataType)> {
[INFO] [stdout]    |                   ^^^^^          ^^^^^^^^^^^  ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                   |              |
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn fields(&self) -> Vec<(Cow<'_, String>, &DataType)> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/parser.rs:215:14
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Some(a) => (
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mangle` is never used
[INFO] [stdout]   --> src/sir.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl DataType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn mangle(&self, out: &mut impl Write) -> fmt::Result {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `mangle` is never used
[INFO] [stdout]    --> src/sir.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl PrimitiveDataType {
[INFO] [stdout]     | ---------------------- method in this implementation
[INFO] [stdout] 127 |     fn mangle(&self, out: &mut impl Write) -> fmt::Result {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Divide`, `Multiply`, and `Subtract` are never constructed
[INFO] [stdout]    --> src/sir.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub enum BinaryOperation {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] 137 |     Add,
[INFO] [stdout] 138 |     Divide,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 139 |     Multiply,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 140 |     Subtract,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryOperation` 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sir.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn data_type(&self) -> Cow<DataType> {
[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] 41 |     pub fn data_type(&self) -> Cow<'_, DataType> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/sir.rs:93:19
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn fields(&self) -> Vec<(Cow<String>, &DataType)> {
[INFO] [stdout]    |                   ^^^^^          ^^^^^^^^^^^  ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                   |              |
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 93 |     pub fn fields(&self) -> Vec<(Cow<'_, String>, &DataType)> {
[INFO] [stdout]    |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.88s
[INFO] running `Command { std: "docker" "inspect" "182528e29a138f550d5be2ab3b7e83e09c4c40ccbaf529dcbdb181cd6033aa48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "182528e29a138f550d5be2ab3b7e83e09c4c40ccbaf529dcbdb181cd6033aa48", kill_on_drop: false }`
[INFO] [stdout] 182528e29a138f550d5be2ab3b7e83e09c4c40ccbaf529dcbdb181cd6033aa48
