[INFO] fetching crate polyhedra 0.1.0... [INFO] testing polyhedra-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate polyhedra 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate polyhedra 0.1.0 [INFO] finished tweaking crates.io crate polyhedra 0.1.0 [INFO] tweaked toml for crates.io crate polyhedra 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate polyhedra 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate polyhedra 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slotmap v0.4.0 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded glutin v0.19.0 [INFO] [stderr] Downloaded winit v0.18.1 [INFO] [stderr] Downloaded ncollide3d v0.22.0 [INFO] [stderr] Downloaded nalgebra v0.20.0 [INFO] [stderr] Downloaded kiss3d v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff362cceec4d8c4b21278bd2259c479bf475db3613536470162c4bf8353d334 [INFO] running `Command { std: "docker" "start" "-a" "6ff362cceec4d8c4b21278bd2259c479bf475db3613536470162c4bf8353d334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff362cceec4d8c4b21278bd2259c479bf475db3613536470162c4bf8353d334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff362cceec4d8c4b21278bd2259c479bf475db3613536470162c4bf8353d334", kill_on_drop: false }` [INFO] [stdout] 6ff362cceec4d8c4b21278bd2259c479bf475db3613536470162c4bf8353d334 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4b051a9222540cb9dcd468e81d9ce04b226f1dc8f27c0296a6628f143395292a [INFO] running `Command { std: "docker" "start" "-a" "4b051a9222540cb9dcd468e81d9ce04b226f1dc8f27c0296a6628f143395292a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling polyhedra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/topology.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/topology.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/geodesic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct GeodesicBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | n: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GeodesicBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CoordinateSpace` is never used [INFO] [stdout] --> src/topology.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait CoordinateSpace { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tiling` is never used [INFO] [stdout] --> src/topology.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) trait Tiling [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/polyhedron.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/topology.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Boundary` [INFO] [stdout] 21 | pub(crate) struct Boundary(pub T, pub T); [INFO] [stdout] | -------- `Boundary` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/topology.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Boundary` [INFO] [stdout] 21 | pub(crate) struct Boundary(pub T, pub T); [INFO] [stdout] | -------- `Boundary` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/topology.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.38s [INFO] running `Command { std: "docker" "inspect" "4b051a9222540cb9dcd468e81d9ce04b226f1dc8f27c0296a6628f143395292a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b051a9222540cb9dcd468e81d9ce04b226f1dc8f27c0296a6628f143395292a", kill_on_drop: false }` [INFO] [stdout] 4b051a9222540cb9dcd468e81d9ce04b226f1dc8f27c0296a6628f143395292a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e09bf96cc973105fb297856d3d58a11e96036fe0d0f20c1d832e8b25f72f6eee [INFO] running `Command { std: "docker" "start" "-a" "e09bf96cc973105fb297856d3d58a11e96036fe0d0f20c1d832e8b25f72f6eee", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling slotmap v0.4.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/topology.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/topology.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/geodesic.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct GeodesicBuilder { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | n: u64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GeodesicBuilder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CoordinateSpace` is never used [INFO] [stdout] --> src/topology.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) trait CoordinateSpace { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Tiling` is never used [INFO] [stdout] --> src/topology.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) trait Tiling [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/polyhedron.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ ----- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/topology.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Boundary` [INFO] [stdout] 21 | pub(crate) struct Boundary(pub T, pub T); [INFO] [stdout] | -------- `Boundary` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/topology.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Eq, Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Boundary` [INFO] [stdout] 21 | pub(crate) struct Boundary(pub T, pub T); [INFO] [stdout] | -------- `Boundary` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/topology.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ -- -- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling ncollide3d v0.22.0 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncollide3d-0.22.0/src/pipeline/world.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | / glue::perform_all_pipeline( [INFO] [stdout] 105 | | &self.objects, [INFO] [stdout] 106 | | &mut *self.broad_phase, [INFO] [stdout] 107 | | &mut self.narrow_phase, [INFO] [stdout] 108 | | &mut self.interactions, [INFO] [stdout] 109 | | self.pair_filters.as_ref().map(|f| &**f), [INFO] [stdout] 110 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 42 | impl CollisionWorld { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ncollide3d-0.22.0/src/pipeline/world.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / glue::perform_broad_phase( [INFO] [stdout] 223 | | &self.objects, [INFO] [stdout] 224 | | &mut *self.broad_phase, [INFO] [stdout] 225 | | &mut self.narrow_phase, [INFO] [stdout] 226 | | &mut self.interactions, [INFO] [stdout] 227 | | self.pair_filters.as_ref().map(|f| &**f), [INFO] [stdout] 228 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 42 | impl CollisionWorld { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ncollide3d` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e09bf96cc973105fb297856d3d58a11e96036fe0d0f20c1d832e8b25f72f6eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09bf96cc973105fb297856d3d58a11e96036fe0d0f20c1d832e8b25f72f6eee", kill_on_drop: false }` [INFO] [stdout] e09bf96cc973105fb297856d3d58a11e96036fe0d0f20c1d832e8b25f72f6eee