[INFO] fetching crate confined_encoding_test 0.9.0-alpha.1... [INFO] testing confined_encoding_test-0.9.0-alpha.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate confined_encoding_test 0.9.0-alpha.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate confined_encoding_test 0.9.0-alpha.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cc78bd2c6256ba101e8e371e17c255b4f321301b23e4e97c6c09579bef48801 [INFO] running `Command { std: "docker" "start" "-a" "8cc78bd2c6256ba101e8e371e17c255b4f321301b23e4e97c6c09579bef48801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cc78bd2c6256ba101e8e371e17c255b4f321301b23e4e97c6c09579bef48801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc78bd2c6256ba101e8e371e17c255b4f321301b23e4e97c6c09579bef48801", kill_on_drop: false }` [INFO] [stdout] 8cc78bd2c6256ba101e8e371e17c255b4f321301b23e4e97c6c09579bef48801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57c36976df071f3d9e730c113919835853cef14fcf244b9cb478c77896711d29 [INFO] running `Command { std: "docker" "start" "-a" "57c36976df071f3d9e730c113919835853cef14fcf244b9cb478c77896711d29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling amplify_num v0.4.1 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling amplify_num v0.5.3 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling 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 secp256k1 v0.24.3 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling amplify v3.14.2 [INFO] [stderr] Compiling encoding_derive_helpers v2.0.0-alpha.2 [INFO] [stderr] Compiling confined_encoding_derive v0.9.0-alpha.2 [INFO] [stderr] Compiling amplify v4.9.0 [INFO] [stderr] Compiling confined_encoding v0.9.0-alpha.5 [INFO] [stderr] Compiling 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) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "57c36976df071f3d9e730c113919835853cef14fcf244b9cb478c77896711d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57c36976df071f3d9e730c113919835853cef14fcf244b9cb478c77896711d29", kill_on_drop: false }` [INFO] [stdout] 57c36976df071f3d9e730c113919835853cef14fcf244b9cb478c77896711d29