[INFO] fetching crate polyhedra 0.1.0... [INFO] checking polyhedra-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate polyhedra 0.1.0 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate polyhedra 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88e0bc2b7e32792dd38b341a85fa90f8a8463932fb8807121dcdc2a9f4641785 [INFO] running `Command { std: "docker" "start" "-a" "88e0bc2b7e32792dd38b341a85fa90f8a8463932fb8807121dcdc2a9f4641785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88e0bc2b7e32792dd38b341a85fa90f8a8463932fb8807121dcdc2a9f4641785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e0bc2b7e32792dd38b341a85fa90f8a8463932fb8807121dcdc2a9f4641785", kill_on_drop: false }` [INFO] [stdout] 88e0bc2b7e32792dd38b341a85fa90f8a8463932fb8807121dcdc2a9f4641785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14f6e72ad2150dc3c791f400fb46080c227f2906c3874264e3b374b319f15281 [INFO] running `Command { std: "docker" "start" "-a" "14f6e72ad2150dc3c791f400fb46080c227f2906c3874264e3b374b319f15281", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking nalgebra v0.20.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking petgraph v0.5.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking ncollide3d v0.22.0 [INFO] [stderr] Checking 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: struct `Boundary` is never constructed [INFO] [stdout] --> src/topology.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct Boundary(pub T, pub T); [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/polyhedron.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | fn iter<'a>(&'a self) -> Box + 'a> { [INFO] [stdout] | ^^ the lifetime is named here ----- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/topology.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 49 | fn iter<'a>(&'a self) -> Box + 'a>; [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: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" "14f6e72ad2150dc3c791f400fb46080c227f2906c3874264e3b374b319f15281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f6e72ad2150dc3c791f400fb46080c227f2906c3874264e3b374b319f15281", kill_on_drop: false }` [INFO] [stdout] 14f6e72ad2150dc3c791f400fb46080c227f2906c3874264e3b374b319f15281