[INFO] fetching crate libreda-lefdef 0.0.5... [INFO] checking libreda-lefdef-0.0.5 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate libreda-lefdef 0.0.5 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libreda-lefdef 0.0.5 [INFO] finished tweaking crates.io crate libreda-lefdef 0.0.5 [INFO] tweaked toml for crates.io crate libreda-lefdef 0.0.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libreda-lefdef 0.0.5 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libreda-stream-parser v0.2.0 [INFO] [stderr] Downloaded portrait-framework v0.2.1 [INFO] [stderr] Downloaded portrait-codegen v0.2.3 [INFO] [stderr] Downloaded iron-shapes v0.1.1 [INFO] [stderr] Downloaded libreda-splay v0.1.1 [INFO] [stderr] Downloaded portrait v0.2.3 [INFO] [stderr] Downloaded iron-shapes-booleanop v0.1.0 [INFO] [stderr] Downloaded rstar v0.9.3 [INFO] [stderr] Downloaded libreda-db v0.0.12 [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66f785a6330309f10c986522ae1dfee1ad117d7e2824e89a466960fe1886e0b [INFO] running `Command { std: "docker" "start" "-a" "f66f785a6330309f10c986522ae1dfee1ad117d7e2824e89a466960fe1886e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66f785a6330309f10c986522ae1dfee1ad117d7e2824e89a466960fe1886e0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66f785a6330309f10c986522ae1dfee1ad117d7e2824e89a466960fe1886e0b", kill_on_drop: false }` [INFO] [stdout] f66f785a6330309f10c986522ae1dfee1ad117d7e2824e89a466960fe1886e0b [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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72cf6ad0d9e0beb7ee056a147040b8219807f34d1abeb5925189e816444de528 [INFO] running `Command { std: "docker" "start" "-a" "72cf6ad0d9e0beb7ee056a147040b8219807f34d1abeb5925189e816444de528", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking libreda-splay v0.1.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking libreda-stream-parser v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rstar v0.9.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling portrait-framework v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling portrait-codegen v0.2.3 [INFO] [stderr] Checking portrait v0.2.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking iron-shapes v0.1.1 [INFO] [stderr] Checking iron-shapes-booleanop v0.1.0 [INFO] [stderr] Checking libreda-db v0.0.12 [INFO] [stderr] Checking libreda-lefdef v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for v in &def.version { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 - for v in &def.version { [INFO] [stdout] 65 + while let Some(v) = &def.version { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 65 - for v in &def.version { [INFO] [stdout] 65 + if let Some(v) = &def.version { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | for n in &def.design_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 83 - for n in &def.design_name { [INFO] [stdout] 83 + while let Some(n) = &def.design_name { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 83 - for n in &def.design_name { [INFO] [stdout] 83 + if let Some(n) = &def.design_name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for n in &def.technology { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 88 - for n in &def.technology { [INFO] [stdout] 88 + while let Some(n) = &def.technology { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 88 - for n in &def.technology { [INFO] [stdout] 88 + if let Some(n) = &def.technology { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | for region_type in ®ion.region_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 204 - for region_type in ®ion.region_type { [INFO] [stdout] 204 + while let Some(region_type) = ®ion.region_type { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 204 - for region_type in ®ion.region_type { [INFO] [stdout] 204 + if let Some(region_type) = ®ion.region_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | for m in &comp.eeq_master { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 223 - for m in &comp.eeq_master { [INFO] [stdout] 223 + while let Some(m) = &comp.eeq_master { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 223 - for m in &comp.eeq_master { [INFO] [stdout] 223 + if let Some(m) = &comp.eeq_master { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 242 | for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 242 - for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] 242 + while let Some((soft, left, bottom, right, top)) = &comp.halo { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] 242 + if let Some((soft, left, bottom, right, top)) = &comp.halo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 250 | for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 250 - for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] 250 + while let Some((dist, min_layer, max_layer)) = &comp.route_halo { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 250 - for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] 250 + if let Some((dist, min_layer, max_layer)) = &comp.route_halo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | for r in &comp.region { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 260 - for r in &comp.region { [INFO] [stdout] 260 + while let Some(r) = &comp.region { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 260 - for r in &comp.region { [INFO] [stdout] 260 + if let Some(r) = &comp.region { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | for v in &def.version { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 - for v in &def.version { [INFO] [stdout] 65 + while let Some(v) = &def.version { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 65 - for v in &def.version { [INFO] [stdout] 65 + if let Some(v) = &def.version { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | for n in &def.design_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 83 - for n in &def.design_name { [INFO] [stdout] 83 + while let Some(n) = &def.design_name { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 83 - for n in &def.design_name { [INFO] [stdout] 83 + if let Some(n) = &def.design_name { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for n in &def.technology { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 88 - for n in &def.technology { [INFO] [stdout] 88 + while let Some(n) = &def.technology { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 88 - for n in &def.technology { [INFO] [stdout] 88 + if let Some(n) = &def.technology { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | for region_type in ®ion.region_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 204 - for region_type in ®ion.region_type { [INFO] [stdout] 204 + while let Some(region_type) = ®ion.region_type { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 204 - for region_type in ®ion.region_type { [INFO] [stdout] 204 + if let Some(region_type) = ®ion.region_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | for m in &comp.eeq_master { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 223 - for m in &comp.eeq_master { [INFO] [stdout] 223 + while let Some(m) = &comp.eeq_master { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 223 - for m in &comp.eeq_master { [INFO] [stdout] 223 + if let Some(m) = &comp.eeq_master { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:242:53 [INFO] [stdout] | [INFO] [stdout] 242 | for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 242 - for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] 242 + while let Some((soft, left, bottom, right, top)) = &comp.halo { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 242 - for (soft, left, bottom, right, top) in &comp.halo { [INFO] [stdout] 242 + if let Some((soft, left, bottom, right, top)) = &comp.halo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:250:49 [INFO] [stdout] | [INFO] [stdout] 250 | for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 250 - for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] 250 + while let Some((dist, min_layer, max_layer)) = &comp.route_halo { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 250 - for (dist, min_layer, max_layer) in &comp.route_halo { [INFO] [stdout] 250 + if let Some((dist, min_layer, max_layer)) = &comp.route_halo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/def_writer.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | for r in &comp.region { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 260 - for r in &comp.region { [INFO] [stdout] 260 + while let Some(r) = &comp.region { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 260 - for r in &comp.region { [INFO] [stdout] 260 + if let Some(r) = &comp.region { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.64s [INFO] running `Command { std: "docker" "inspect" "72cf6ad0d9e0beb7ee056a147040b8219807f34d1abeb5925189e816444de528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72cf6ad0d9e0beb7ee056a147040b8219807f34d1abeb5925189e816444de528", kill_on_drop: false }` [INFO] [stdout] 72cf6ad0d9e0beb7ee056a147040b8219807f34d1abeb5925189e816444de528