[INFO] fetching crate tract-core 0.20.5... [INFO] checking tract-core-0.20.5 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate tract-core 0.20.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate tract-core 0.20.5 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tract-core 0.20.5 [INFO] finished tweaking crates.io crate tract-core 0.20.5 [INFO] tweaked toml for crates.io crate tract-core 0.20.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f2cc2f37e5fbddf85214c00ab56e270bde4cbf94621c315d3dad7d47f3d038 [INFO] running `Command { std: "docker" "start" "-a" "58f2cc2f37e5fbddf85214c00ab56e270bde4cbf94621c315d3dad7d47f3d038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f2cc2f37e5fbddf85214c00ab56e270bde4cbf94621c315d3dad7d47f3d038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f2cc2f37e5fbddf85214c00ab56e270bde4cbf94621c315d3dad7d47f3d038", kill_on_drop: false }` [INFO] [stdout] 58f2cc2f37e5fbddf85214c00ab56e270bde4cbf94621c315d3dad7d47f3d038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc20c910068054a8e7725d645b9a904667692c5281e0e51738cfc8909b80a845 [INFO] running `Command { std: "docker" "start" "-a" "cc20c910068054a8e7725d645b9a904667692c5281e0e51738cfc8909b80a845", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustix v0.37.19 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling rustfft v6.1.0 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking plotters v0.3.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling time v0.3.21 [INFO] [stderr] Checking transpose v0.2.2 [INFO] [stderr] Checking primal-check v0.3.3 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking tempfile v3.5.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.163 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling liquid-derive v0.26.3 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Checking serde v1.0.163 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tract-data v0.20.5 [INFO] [stderr] Compiling kstring v2.0.0 [INFO] [stderr] Compiling liquid-core v0.26.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Compiling liquid-lib v0.26.3 [INFO] [stderr] Compiling liquid v0.26.3 [INFO] [stderr] Compiling tract-linalg v0.20.5 [INFO] [stderr] Checking tract-core v0.20.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops/scan/mir.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let mut mapping = &mut new_output_mapping[body_output_id]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | let model = plan.model().borrow(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `graph::Graph` does not implement `Borrow`, so calling `borrow` on `&graph::Graph` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:486:51 [INFO] [stdout] | [INFO] [stdout] 486 | state.eval(session_state, plan.borrow().model().nodes()[node].op(), inputs) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `plan::SimplePlan` does not implement `Borrow`, so calling `borrow` on `&plan::SimplePlan` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:488:29 [INFO] [stdout] | [INFO] [stdout] 488 | None => plan.borrow().model().nodes()[node].op().eval(inputs), [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `plan::SimplePlan` does not implement `Borrow`, so calling `borrow` on `&plan::SimplePlan` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tract-core` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ops/scan/mir.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let mut mapping = &mut new_output_mapping[body_output_id]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:244:37 [INFO] [stdout] | [INFO] [stdout] 244 | let model = plan.model().borrow(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `graph::Graph` does not implement `Borrow`, so calling `borrow` on `&graph::Graph` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:486:51 [INFO] [stdout] | [INFO] [stdout] 486 | state.eval(session_state, plan.borrow().model().nodes()[node].op(), inputs) [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `plan::SimplePlan` does not implement `Borrow`, so calling `borrow` on `&plan::SimplePlan` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/plan.rs:488:29 [INFO] [stdout] | [INFO] [stdout] 488 | None => plan.borrow().model().nodes()[node].op().eval(inputs), [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `plan::SimplePlan` does not implement `Borrow`, so calling `borrow` on `&plan::SimplePlan` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tract-core` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cc20c910068054a8e7725d645b9a904667692c5281e0e51738cfc8909b80a845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc20c910068054a8e7725d645b9a904667692c5281e0e51738cfc8909b80a845", kill_on_drop: false }` [INFO] [stdout] cc20c910068054a8e7725d645b9a904667692c5281e0e51738cfc8909b80a845