[INFO] fetching crate l1_ir 0.0.52... [INFO] checking l1_ir-0.0.52 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate l1_ir 0.0.52 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate l1_ir 0.0.52 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 l1_ir 0.0.52 [INFO] finished tweaking crates.io crate l1_ir 0.0.52 [INFO] tweaked toml for crates.io crate l1_ir 0.0.52 written to /workspace/builds/worker-5-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a0109de845f6687f4f97f0e9d6eaef409033eefe0da718d3d0361a03d8ac5428 [INFO] running `Command { std: "docker" "start" "-a" "a0109de845f6687f4f97f0e9d6eaef409033eefe0da718d3d0361a03d8ac5428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0109de845f6687f4f97f0e9d6eaef409033eefe0da718d3d0361a03d8ac5428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0109de845f6687f4f97f0e9d6eaef409033eefe0da718d3d0361a03d8ac5428", kill_on_drop: false }` [INFO] [stdout] a0109de845f6687f4f97f0e9d6eaef409033eefe0da718d3d0361a03d8ac5428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 850d6638662803db2457730ec23a18c4d56b77726ade7ae0451ded63daafc504 [INFO] running `Command { std: "docker" "start" "-a" "850d6638662803db2457730ec23a18c4d56b77726ade7ae0451ded63daafc504", kill_on_drop: false }` [INFO] [stderr] Compiling cranelift-isle v0.92.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cranelift-codegen-shared v0.92.1 [INFO] [stderr] Compiling target-lexicon v0.12.7 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cranelift-entity v0.92.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking bumpalo v3.13.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.92.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking cranelift-bforest v0.92.1 [INFO] [stderr] Checking wasmtime-jit-icache-coherence v5.0.1 [INFO] [stderr] Checking regalloc2 v0.5.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling cranelift-codegen v0.92.1 [INFO] [stderr] Checking cranelift-module v0.92.1 [INFO] [stderr] Checking cranelift-frontend v0.92.1 [INFO] [stderr] Checking cranelift-native v0.92.1 [INFO] [stderr] Checking cranelift-jit v0.92.1 [INFO] [stderr] Checking cranelift v0.92.1 [INFO] [stderr] Checking l1_ir v0.0.52 (/opt/rustwide/workdir) [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opt.rs:342:80 [INFO] [stdout] | [INFO] [stdout] 342 | if let Expression::PatternMatch(guard_cond,plrs,_ptt,_span) = xe.borrow() { [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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/opt.rs:364:100 [INFO] [stdout] | [INFO] [stdout] 364 | let (lie,_lit) = compile_expr(type_context, stdlib, finfs, jmod, ctx, in_loop, p, xe.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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/opt.rs:567:93 [INFO] [stdout] | [INFO] [stdout] 567 | let (je,jt) = compile_expr(type_context, stdlib, finfs, jmod, ctx, blk, p, te.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `l1_ir` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opt.rs:342:80 [INFO] [stdout] | [INFO] [stdout] 342 | if let Expression::PatternMatch(guard_cond,plrs,_ptt,_span) = xe.borrow() { [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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/opt.rs:364:100 [INFO] [stdout] | [INFO] [stdout] 364 | let (lie,_lit) = compile_expr(type_context, stdlib, finfs, jmod, ctx, in_loop, p, xe.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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/opt.rs:567:93 [INFO] [stdout] | [INFO] [stdout] 567 | let (je,jt) = compile_expr(type_context, stdlib, finfs, jmod, ctx, blk, p, te.borrow()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `ast::Expression` does not implement `Borrow`, so calling `borrow` on `&ast::Expression` 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `l1_ir` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "850d6638662803db2457730ec23a18c4d56b77726ade7ae0451ded63daafc504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850d6638662803db2457730ec23a18c4d56b77726ade7ae0451ded63daafc504", kill_on_drop: false }` [INFO] [stdout] 850d6638662803db2457730ec23a18c4d56b77726ade7ae0451ded63daafc504