[INFO] fetching crate mtl-gpu 1.0.1... [INFO] testing mtl-gpu-1.0.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate mtl-gpu 1.0.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mtl-gpu 1.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mtl-gpu 1.0.1 [INFO] tweaked toml for crates.io crate mtl-gpu 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mtl-gpu 1.0.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mtl-gpu 1.0.1 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mtl-sys v1.0.1 [INFO] [stderr] Downloaded mtl-foundation v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a83345a7ca504bd53b76cdedf0f5129faea4be5414e7cf4809031d30b24ae6b [INFO] running `Command { std: "docker" "start" "-a" "9a83345a7ca504bd53b76cdedf0f5129faea4be5414e7cf4809031d30b24ae6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a83345a7ca504bd53b76cdedf0f5129faea4be5414e7cf4809031d30b24ae6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a83345a7ca504bd53b76cdedf0f5129faea4be5414e7cf4809031d30b24ae6b", kill_on_drop: false }` [INFO] [stdout] 9a83345a7ca504bd53b76cdedf0f5129faea4be5414e7cf4809031d30b24ae6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 502224b775e93edf3f8fd17bd3c78878dd42027c4ac8c5c66cf1572a91bfd882 [INFO] running `Command { std: "docker" "start" "-a" "502224b775e93edf3f8fd17bd3c78878dd42027c4ac8c5c66cf1572a91bfd882", kill_on_drop: false }` [INFO] [stderr] Compiling mtl-sys v1.0.1 [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/functions.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | #[link(name = "Metal", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/functions.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | #[link(name = "Metal", kind = "framework")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn msg_send_0(obj: *const c_void, sel: Sel) -> R { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 121 | pub unsafe fn msg_send_1(obj: *const c_void, sel: Sel, a: A) -> R { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 155 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 153 | pub unsafe fn msg_send_2(obj: *const c_void, sel: Sel, a: A, b: B) -> R { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 185 | pub unsafe fn msg_send_3(obj: *const c_void, sel: Sel, a: A, b: B, c: C) -> R { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe fn msg_send_4(obj: *const c_void, sel: Sel, a: A, b: B, c: C, d: D) -> R { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 259 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 249 | pub unsafe fn msg_send_5( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:301:8 [INFO] [stdout] | [INFO] [stdout] 301 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 290 | pub unsafe fn msg_send_6( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:344:8 [INFO] [stdout] | [INFO] [stdout] 344 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 332 | pub unsafe fn msg_send_7( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `R` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mtl-sys-1.0.1/src/msg_send.rs:388:8 [INFO] [stdout] | [INFO] [stdout] 388 | if is_float::() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `R` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `R` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 375 | pub unsafe fn msg_send_8( [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0455. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mtl-sys` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "502224b775e93edf3f8fd17bd3c78878dd42027c4ac8c5c66cf1572a91bfd882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "502224b775e93edf3f8fd17bd3c78878dd42027c4ac8c5c66cf1572a91bfd882", kill_on_drop: false }` [INFO] [stdout] 502224b775e93edf3f8fd17bd3c78878dd42027c4ac8c5c66cf1572a91bfd882