[INFO] fetching crate tensorgraph-sys 0.1.11... [INFO] checking tensorgraph-sys-0.1.11 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate tensorgraph-sys 0.1.11 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate tensorgraph-sys 0.1.11 [INFO] finished tweaking crates.io crate tensorgraph-sys 0.1.11 [INFO] tweaked toml for crates.io crate tensorgraph-sys 0.1.11 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tensorgraph-sys 0.1.11 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding cust v0.2.2 (available: v0.3.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cust_derive v0.1.1 [INFO] [stderr] Downloaded cust v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15b1accf392aab6547cba444f4d255367a2b729ca39b9990c22102df9f2e3372 [INFO] running `Command { std: "docker" "start" "-a" "15b1accf392aab6547cba444f4d255367a2b729ca39b9990c22102df9f2e3372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15b1accf392aab6547cba444f4d255367a2b729ca39b9990c22102df9f2e3372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b1accf392aab6547cba444f4d255367a2b729ca39b9990c22102df9f2e3372", kill_on_drop: false }` [INFO] [stdout] 15b1accf392aab6547cba444f4d255367a2b729ca39b9990c22102df9f2e3372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48f34816eef753ed3dd38057216b65967b65562e986fcb92e0b2b12e91075df8 [INFO] running `Command { std: "docker" "start" "-a" "48f34816eef753ed3dd38057216b65967b65562e986fcb92e0b2b12e91075df8", kill_on_drop: false }` [INFO] [stderr] Checking tensorgraph-sys v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / where [INFO] [stdout] 62 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 61 ~ [INFO] [stdout] 62 ~ = &'a D::Target where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / where [INFO] [stdout] 73 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 72 ~ [INFO] [stdout] 73 ~ = &'a mut D::Target where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | generic_associated_types, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | once_cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | nonnull_slice_from_raw_parts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | slice_ptr_len, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / where [INFO] [stdout] 62 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] = note: `#[warn(deprecated_where_clause_location)]` on by default [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 61 ~ [INFO] [stdout] 62 ~ = &'a D::Target where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: where clause not allowed here [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / where [INFO] [stdout] 73 | | Self: 'a, [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #89122 for more information [INFO] [stdout] help: move it to the end of the type declaration [INFO] [stdout] | [INFO] [stdout] 72 ~ [INFO] [stdout] 73 ~ = &'a mut D::Target where Self: 'a; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | generic_associated_types, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `once_cell` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | once_cell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | nonnull_slice_from_raw_parts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `slice_ptr_len` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | slice_ptr_len, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/ptr/reef.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | &*(MaybeUninit::slice_assume_init_ref(&self.inner) as *const [T] as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_mut`: replaced by inherent assume_init_mut method; will eventually be removed [INFO] [stdout] --> src/ptr/reef.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | &mut *(MaybeUninit::slice_assume_init_mut(&mut self.inner) as *mut [T] as *mut _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_ref`: replaced by inherent assume_init_ref method; will eventually be removed [INFO] [stdout] --> src/ptr/reef.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | &*(MaybeUninit::slice_assume_init_ref(&self.inner) as *const [T] as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::mem::MaybeUninit::::slice_assume_init_mut`: replaced by inherent assume_init_mut method; will eventually be removed [INFO] [stdout] --> src/ptr/reef.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | &mut *(MaybeUninit::slice_assume_init_mut(&mut self.inner) as *mut [T] as *mut _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `vec::Vec` [INFO] [stdout] --> src/vec.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | let mut v1 = Vec::with_capacity(0); [INFO] [stdout] | ^^^^^^ --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: DeviceAllocator` [INFO] [stdout] note: required by a bound in `vec::Vec` [INFO] [stdout] --> src/vec.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `Vec` [INFO] [stdout] help: consider giving `v1` an explicit type, where the type for type parameter `A` is specified [INFO] [stdout] | [INFO] [stdout] 263 | let mut v1: vec::Vec<_, A> = Vec::with_capacity(0); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tensorgraph-sys` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48f34816eef753ed3dd38057216b65967b65562e986fcb92e0b2b12e91075df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48f34816eef753ed3dd38057216b65967b65562e986fcb92e0b2b12e91075df8", kill_on_drop: false }` [INFO] [stdout] 48f34816eef753ed3dd38057216b65967b65562e986fcb92e0b2b12e91075df8