[INFO] fetching crate objc2-encode 2.0.0-alpha.1... [INFO] checking objc2-encode-2.0.0-alpha.1 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate objc2-encode 2.0.0-alpha.1 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate objc2-encode 2.0.0-alpha.1 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate objc2-encode 2.0.0-alpha.1 [INFO] finished tweaking crates.io crate objc2-encode 2.0.0-alpha.1 [INFO] tweaked toml for crates.io crate objc2-encode 2.0.0-alpha.1 written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate crates.io crate objc2-encode 2.0.0-alpha.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f61995bc99b25b6b7e61f83e010a882e4c9b784eb229f798fbf8e1ff18210d0 [INFO] running `Command { std: "docker" "start" "-a" "2f61995bc99b25b6b7e61f83e010a882e4c9b784eb229f798fbf8e1ff18210d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f61995bc99b25b6b7e61f83e010a882e4c9b784eb229f798fbf8e1ff18210d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f61995bc99b25b6b7e61f83e010a882e4c9b784eb229f798fbf8e1ff18210d0", kill_on_drop: false }` [INFO] [stdout] 2f61995bc99b25b6b7e61f83e010a882e4c9b784eb229f798fbf8e1ff18210d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d62eb1b2902761bea56e6762326b36aa1b636fa8a6f6dc22e4ba0ae380a17097 [INFO] running `Command { std: "docker" "start" "-a" "d62eb1b2902761bea56e6762326b36aa1b636fa8a6f6dc22e4ba0ae380a17097", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking objc2-encode v2.0.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking malloc_buf v0.0.6 [INFO] [stderr] Checking objc v0.2.7 [INFO] [stdout] error[E0438]: const `ENCODING` is not a member of trait `Encode` [INFO] [stdout] --> examples/core_graphics.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / const ENCODING: Encoding<'static> = [INFO] [stdout] 17 | | Encoding::Struct("CGPoint", &[CGFloat::ENCODING, CGFloat::ENCODING]); [INFO] [stdout] | |_____________________________________________________________________________^ not a member of trait `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `ENCODING` is not a member of trait `Encode` [INFO] [stdout] --> examples/core_graphics.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / const ENCODING: Encoding<'static> = [INFO] [stdout] 28 | | Encoding::Struct("CGSize", &[CGFloat::ENCODING, CGFloat::ENCODING]); [INFO] [stdout] | |____________________________________________________________________________^ not a member of trait `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `ENCODING` is not a member of trait `Encode` [INFO] [stdout] --> examples/core_graphics.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / const ENCODING: Encoding<'static> = [INFO] [stdout] 39 | | Encoding::Struct("CGRect", &[CGPoint::ENCODING, CGSize::ENCODING]); [INFO] [stdout] | |___________________________________________________________________________^ not a member of trait `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc::RefEncode` [INFO] [stdout] --> examples/ns_uinteger.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use objc::{Encode, Encoding, RefEncode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RefEncode` in the root [INFO] [stdout] | help: a similar name exists in the module: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc::RefEncode` [INFO] [stdout] --> examples/ns_string.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use objc::{Encode, Encoding, RefEncode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RefEncode` in the root [INFO] [stdout] | help: a similar name exists in the module: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0438]: const `ENCODING` is not a member of trait `Encode` [INFO] [stdout] --> examples/ns_uinteger.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | const ENCODING: Encoding<'static> = usize::ENCODING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `objc::RefEncode` [INFO] [stdout] --> examples/opaque_type.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use objc::{Encoding, RefEncode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RefEncode` in the root [INFO] [stdout] | help: a similar name exists in the module: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> examples/ns_string.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use objc::{Encode, Encoding, RefEncode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0438. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `objc2-encode` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/core_graphics.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | const ENCODING: Encoding<'static> = [INFO] [stdout] | ^^^^^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/encode.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Encoding { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/core_graphics.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | const ENCODING: Encoding<'static> = [INFO] [stdout] | ^^^^^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/encode.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Encoding { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied [INFO] [stdout] --> examples/core_graphics.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | const ENCODING: Encoding<'static> = [INFO] [stdout] | ^^^^^^^^--------- help: remove these generics [INFO] [stdout] | | [INFO] [stdout] | expected 0 lifetime arguments [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 0 lifetime parameters [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/encode.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Encoding { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0438. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d62eb1b2902761bea56e6762326b36aa1b636fa8a6f6dc22e4ba0ae380a17097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d62eb1b2902761bea56e6762326b36aa1b636fa8a6f6dc22e4ba0ae380a17097", kill_on_drop: false }` [INFO] [stdout] d62eb1b2902761bea56e6762326b36aa1b636fa8a6f6dc22e4ba0ae380a17097