[INFO] fetching crate supply-chain-trust-example-crate-000098 0.1.1... [INFO] testing supply-chain-trust-example-crate-000098-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate supply-chain-trust-example-crate-000098 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate supply-chain-trust-example-crate-000098 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate supply-chain-trust-example-crate-000098 0.1.1 [INFO] tweaked toml for crates.io crate supply-chain-trust-example-crate-000098 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate supply-chain-trust-example-crate-000098 0.1.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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8dbafdfd6f9aeb10d12c6d084321b13fe539bb8f900154cf0f9b14ece750865b [INFO] running `Command { std: "docker" "start" "-a" "8dbafdfd6f9aeb10d12c6d084321b13fe539bb8f900154cf0f9b14ece750865b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dbafdfd6f9aeb10d12c6d084321b13fe539bb8f900154cf0f9b14ece750865b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dbafdfd6f9aeb10d12c6d084321b13fe539bb8f900154cf0f9b14ece750865b", kill_on_drop: false }` [INFO] [stdout] 8dbafdfd6f9aeb10d12c6d084321b13fe539bb8f900154cf0f9b14ece750865b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 05e8d8ea2fa13ef7affe6accfe506deccc1e61a15d0b7ee2fc2812fc28c50e54 [INFO] running `Command { std: "docker" "start" "-a" "05e8d8ea2fa13ef7affe6accfe506deccc1e61a15d0b7ee2fc2812fc28c50e54", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000098 v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "05e8d8ea2fa13ef7affe6accfe506deccc1e61a15d0b7ee2fc2812fc28c50e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e8d8ea2fa13ef7affe6accfe506deccc1e61a15d0b7ee2fc2812fc28c50e54", kill_on_drop: false }` [INFO] [stdout] 05e8d8ea2fa13ef7affe6accfe506deccc1e61a15d0b7ee2fc2812fc28c50e54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91adfe5b7755c28976a209793752ebd350358f7d38712925d8f269e55e65cd66 [INFO] running `Command { std: "docker" "start" "-a" "91adfe5b7755c28976a209793752ebd350358f7d38712925d8f269e55e65cd66", kill_on_drop: false }` [INFO] [stderr] Compiling supply-chain-trust-example-crate-000098 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pin_utils` [INFO] [stdout] --> tests/projection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pin_utils::{pin_mut, unsafe_pinned, unsafe_unpinned}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `pin_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pin_utils`, use `cargo add pin_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pin_utils` [INFO] [stdout] --> tests/stack_pin.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pin_utils::pin_mut; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `pin_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pin_utils`, use `cargo add pin_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/projection.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo { [INFO] [stdout] | ------------------ method `as_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | let x1: Pin<&mut i32> = x.as_mut().field1(); [INFO] [stdout] | ^^^^^^ method not found in `Foo<{integer}, {integer}>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box<&mut Foo<{integer}, {integer}>>` here [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box<&Foo<{integer}, {integer}>>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 26 | let x1: Pin<&mut i32> = Box::new(x).as_mut().field1(); [INFO] [stdout] | +++++++++ + [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 26 | let x1: Pin<&mut i32> = Box::new(&mut x).as_mut().field1(); [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 26 | let x1: Pin<&mut i32> = Box::new(&x).as_mut().field1(); [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/stack_pin.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | let _: Pin<&mut Foo> = x; [INFO] [stdout] | ------------- ^ expected `Pin<&mut Foo>`, found `Foo` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin<&mut Foo>` [INFO] [stdout] found struct `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/stack_pin.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | let _: Pin<&mut Foo> = y; [INFO] [stdout] | ------------- ^ expected `Pin<&mut Foo>`, found `Foo` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin<&mut Foo>` [INFO] [stdout] found struct `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/projection.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 6 | struct Foo { [INFO] [stdout] | ------------------ method `as_mut` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 29 | let x2: &mut i32 = x.as_mut().field2(); [INFO] [stdout] | ^^^^^^ method not found in `Foo<{integer}, {integer}>` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:377:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box>` here [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box<&mut Foo<{integer}, {integer}>>` here [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Box<&Foo<{integer}, {integer}>>` here [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 29 | let x2: &mut i32 = Box::new(x).as_mut().field2(); [INFO] [stdout] | +++++++++ + [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 29 | let x2: &mut i32 = Box::new(&mut x).as_mut().field2(); [INFO] [stdout] | +++++++++++++ + [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 29 | let x2: &mut i32 = Box::new(&x).as_mut().field2(); [INFO] [stdout] | ++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/stack_pin.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | let _: Pin<&mut Foo> = z; [INFO] [stdout] | ------------- ^ expected `Pin<&mut Foo>`, found `Foo` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Pin<&mut Foo>` [INFO] [stdout] found struct `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000098` (test "stack_pin") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `supply-chain-trust-example-crate-000098` (test "projection") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "91adfe5b7755c28976a209793752ebd350358f7d38712925d8f269e55e65cd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91adfe5b7755c28976a209793752ebd350358f7d38712925d8f269e55e65cd66", kill_on_drop: false }` [INFO] [stdout] 91adfe5b7755c28976a209793752ebd350358f7d38712925d8f269e55e65cd66