[INFO] fetching crate letterboxd 0.4.0... [INFO] checking letterboxd-0.4.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate letterboxd 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate letterboxd 0.4.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate letterboxd 0.4.0 [INFO] finished tweaking crates.io crate letterboxd 0.4.0 [INFO] tweaked toml for crates.io crate letterboxd 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate letterboxd 0.4.0 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b58548c1a65ea976f2bec189795cb112b3c6f79f8d60fc796046b4097932d45c [INFO] running `Command { std: "docker" "start" "-a" "b58548c1a65ea976f2bec189795cb112b3c6f79f8d60fc796046b4097932d45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b58548c1a65ea976f2bec189795cb112b3c6f79f8d60fc796046b4097932d45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b58548c1a65ea976f2bec189795cb112b3c6f79f8d60fc796046b4097932d45c", kill_on_drop: false }` [INFO] [stdout] b58548c1a65ea976f2bec189795cb112b3c6f79f8d60fc796046b4097932d45c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb472f751aafca852db49e13062f3345c03f3e5b9b0125ca775457232b7f546 [INFO] running `Command { std: "docker" "start" "-a" "8cb472f751aafca852db49e13062f3345c03f3e5b9b0125ca775457232b7f546", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.2 [INFO] [stderr] Checking serde_url_params v0.2.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking letterboxd v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration-auth.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/search.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/integration-no-auth.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.73s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking letterboxd v0.4.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `client` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 123 | let buf = client [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | client.set_token(Some(serde_json::from_reader(&mut buf.reader())?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^- ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `bytes::buf::reader::Reader` [INFO] [stdout] | | | [INFO] [stdout] | | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `client` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 123 | let buf = client [INFO] [stdout] | ------ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | client.set_token(Some(serde_json::from_reader(&mut buf.reader())?)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------^^^^- ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `bytes::buf::reader::Reader` [INFO] [stdout] | | | [INFO] [stdout] | | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `letterboxd` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `letterboxd` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8cb472f751aafca852db49e13062f3345c03f3e5b9b0125ca775457232b7f546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb472f751aafca852db49e13062f3345c03f3e5b9b0125ca775457232b7f546", kill_on_drop: false }` [INFO] [stdout] 8cb472f751aafca852db49e13062f3345c03f3e5b9b0125ca775457232b7f546