[INFO] fetching crate cplx 0.3.3... [INFO] checking cplx-0.3.3 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate cplx 0.3.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cplx 0.3.3 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cplx 0.3.3 [INFO] finished tweaking crates.io crate cplx 0.3.3 [INFO] tweaked toml for crates.io crate cplx 0.3.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ecf24ff73cc9f31df29eca2afbaaa0a0ac881ff50cbef742a38f9a875b543ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0ecf24ff73cc9f31df29eca2afbaaa0a0ac881ff50cbef742a38f9a875b543ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ecf24ff73cc9f31df29eca2afbaaa0a0ac881ff50cbef742a38f9a875b543ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ecf24ff73cc9f31df29eca2afbaaa0a0ac881ff50cbef742a38f9a875b543ac", kill_on_drop: false }` [INFO] [stdout] 0ecf24ff73cc9f31df29eca2afbaaa0a0ac881ff50cbef742a38f9a875b543ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3286ffd201a5424f6b3763a2ef4e89acbfcd5872dc0df3b24595e4d6195e3ff4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3286ffd201a5424f6b3763a2ef4e89acbfcd5872dc0df3b24595e4d6195e3ff4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking idem v0.4.0 [INFO] [stderr] Checking idem v0.1.1 [INFO] [stderr] Checking cplx v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unions_with_drop_fields` [INFO] [stdout] --> src/lib.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[allow(unions_with_drop_fields)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Sign : Integer { fn sign(A) -> A; } [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/lib.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Sign : Integer { fn sign(A) -> A; } [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/lib.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | union U> { c: Complex } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/lib.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | union U> { c: Complex } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0740]: unions may not contain fields that need dropping [INFO] [stdout] --> src/lib.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | union U> { c: Complex } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `std::mem::ManuallyDrop` can be used to wrap the type [INFO] [stdout] --> src/lib.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | union U> { c: Complex } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Sign` is not satisfied [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | const zero: Self = from_rect(A::zero, A::zero); [INFO] [stdout] | ^^^^^^^^^ the trait `Sign` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_rect` [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | #[inline] pub const fn from_rect, A>(re: A, im: A) -> Complex { Complex::::from_rect(re, im) } [INFO] [stdout] | ^^^^^^^ required by this bound in `from_rect` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 50 | impl + Sign, A: Zero> Zero for Complex { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Sign` is not satisfied [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | const one: Self = from_rect(A::one, A::zero); [INFO] [stdout] | ^^^^^^^^^ the trait `Sign` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_rect` [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | #[inline] pub const fn from_rect, A>(re: A, im: A) -> Complex { Complex::::from_rect(re, im) } [INFO] [stdout] | ^^^^^^^ required by this bound in `from_rect` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 54 | impl + Sign, A: Zero + One> One for Complex { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cplx` due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `S: Sign` is not satisfied [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | const zero: Self = from_rect(A::zero, A::zero); [INFO] [stdout] | ^^^^^^^^^ the trait `Sign` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_rect` [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | #[inline] pub const fn from_rect, A>(re: A, im: A) -> Complex { Complex::::from_rect(re, im) } [INFO] [stdout] | ^^^^^^^ required by this bound in `from_rect` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 50 | impl + Sign, A: Zero> Zero for Complex { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `S: Sign` is not satisfied [INFO] [stdout] --> src/lib.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | const one: Self = from_rect(A::one, A::zero); [INFO] [stdout] | ^^^^^^^^^ the trait `Sign` is not implemented for `S` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `from_rect` [INFO] [stdout] --> src/lib.rs:42:37 [INFO] [stdout] | [INFO] [stdout] 42 | #[inline] pub const fn from_rect, A>(re: A, im: A) -> Complex { Complex::::from_rect(re, im) } [INFO] [stdout] | ^^^^^^^ required by this bound in `from_rect` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 54 | impl + Sign, A: Zero + One> One for Complex { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0557, E0740. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3286ffd201a5424f6b3763a2ef4e89acbfcd5872dc0df3b24595e4d6195e3ff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3286ffd201a5424f6b3763a2ef4e89acbfcd5872dc0df3b24595e4d6195e3ff4", kill_on_drop: false }` [INFO] [stdout] 3286ffd201a5424f6b3763a2ef4e89acbfcd5872dc0df3b24595e4d6195e3ff4