[INFO] fetching crate confined_encoding_test 0.9.0-alpha.1... [INFO] checking confined_encoding_test-0.9.0-alpha.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate confined_encoding_test 0.9.0-alpha.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate confined_encoding_test 0.9.0-alpha.1 [INFO] finished tweaking crates.io crate confined_encoding_test 0.9.0-alpha.1 [INFO] tweaked toml for crates.io crate confined_encoding_test 0.9.0-alpha.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate confined_encoding_test 0.9.0-alpha.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding amplify v3.14.2 (available: v4.9.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec61e947cf1d949114096ecf4764297edea969e5c5d633a838935f6a03d146a7 [INFO] running `Command { std: "docker" "start" "-a" "ec61e947cf1d949114096ecf4764297edea969e5c5d633a838935f6a03d146a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec61e947cf1d949114096ecf4764297edea969e5c5d633a838935f6a03d146a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec61e947cf1d949114096ecf4764297edea969e5c5d633a838935f6a03d146a7", kill_on_drop: false }` [INFO] [stdout] ec61e947cf1d949114096ecf4764297edea969e5c5d633a838935f6a03d146a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e72e9ffd04fde1e9a789217edc69b74ef551d6f5c5e11c9884f2560c8722e4bc [INFO] running `Command { std: "docker" "start" "-a" "e72e9ffd04fde1e9a789217edc69b74ef551d6f5c5e11c9884f2560c8722e4bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling amplify_num v0.4.1 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking bitcoin_hashes v0.11.0 [INFO] [stderr] Checking amplify_num v0.5.3 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking amplify_apfloat v0.3.1 [INFO] [stderr] Compiling amplify_syn v1.1.6 [INFO] [stderr] Compiling amplify_syn v2.0.1 [INFO] [stderr] Compiling amplify_derive v2.11.3 [INFO] [stderr] Compiling amplify_derive v4.0.1 [INFO] [stderr] Compiling amplify v3.14.2 [INFO] [stderr] Compiling encoding_derive_helpers v2.0.0-alpha.2 [INFO] [stderr] Checking amplify v4.9.0 [INFO] [stderr] Compiling confined_encoding_derive v0.9.0-alpha.2 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking bitcoin v0.29.2 [INFO] [stderr] Checking confined_encoding v0.9.0-alpha.5 [INFO] [stderr] Checking confined_encoding_test v0.9.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:574:19 [INFO] [stdout] | [INFO] [stdout] 574 | if written != len { [INFO] [stdout] | ------- ^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:577:23 [INFO] [stdout] | [INFO] [stdout] 577 | returned: written, [INFO] [stdout] | ^^^^^^^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | T::confined_decode(&encoded_object[..]).map_err(|e| { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/confined_encoding-0.9.0-alpha.5/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn confined_decode(d: &mut impl io::Read) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:638:45 [INFO] [stdout] | [INFO] [stdout] 638 | let decoded_object = T::confined_decode(test_vec).map_err(|e| { [INFO] [stdout] | ------------------ ^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/confined_encoding-0.9.0-alpha.5/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn confined_decode(d: &mut impl io::Read) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `confined_encoding_test` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:574:19 [INFO] [stdout] | [INFO] [stdout] 574 | if written != len { [INFO] [stdout] | ------- ^^^ expected `()`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:577:23 [INFO] [stdout] | [INFO] [stdout] 577 | returned: written, [INFO] [stdout] | ^^^^^^^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:581:28 [INFO] [stdout] | [INFO] [stdout] 581 | T::confined_decode(&encoded_object[..]).map_err(|e| { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/confined_encoding-0.9.0-alpha.5/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn confined_decode(d: &mut impl io::Read) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:638:45 [INFO] [stdout] | [INFO] [stdout] 638 | let decoded_object = T::confined_decode(test_vec).map_err(|e| { [INFO] [stdout] | ------------------ ^^^^^^^^ types differ in mutability [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut _` [INFO] [stdout] found reference `&[u8]` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/confined_encoding-0.9.0-alpha.5/src/lib.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn confined_decode(d: &mut impl io::Read) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `confined_encoding_test` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e72e9ffd04fde1e9a789217edc69b74ef551d6f5c5e11c9884f2560c8722e4bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e72e9ffd04fde1e9a789217edc69b74ef551d6f5c5e11c9884f2560c8722e4bc", kill_on_drop: false }` [INFO] [stdout] e72e9ffd04fde1e9a789217edc69b74ef551d6f5c5e11c9884f2560c8722e4bc