[INFO] fetching crate spherical-cow 0.1.2... [INFO] checking spherical-cow-0.1.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate spherical-cow 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate spherical-cow 0.1.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate spherical-cow 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate spherical-cow 0.1.2 [INFO] tweaked toml for crates.io crate spherical-cow 0.1.2 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 868372ef540e65365509b95ddd6150215ae4b845ac9a18ce9db9a0673297b68d [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" "868372ef540e65365509b95ddd6150215ae4b845ac9a18ce9db9a0673297b68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "868372ef540e65365509b95ddd6150215ae4b845ac9a18ce9db9a0673297b68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868372ef540e65365509b95ddd6150215ae4b845ac9a18ce9db9a0673297b68d", kill_on_drop: false }` [INFO] [stdout] 868372ef540e65365509b95ddd6150215ae4b845ac9a18ce9db9a0673297b68d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cfdcad70fa07791591e620bce8af2cf184703dd4cbb75e4e5d0b582c4c2c9d1 [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" "7cfdcad70fa07791591e620bce8af2cf184703dd4cbb75e4e5d0b582c4c2c9d1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking obj v0.9.1 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking float-cmp v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking alga v0.7.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking rusttype v0.6.5 [INFO] [stderr] Checking nalgebra v0.16.14 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking ncollide3d v0.17.3 [INFO] [stderr] Checking spherical-cow v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:389:35 [INFO] [stdout] | [INFO] [stdout] 389 | let unitvector_u = vector_u / nalgebra::norm(&vector_u); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:391:35 [INFO] [stdout] | [INFO] [stdout] 391 | let unitvector_v = vector_v / nalgebra::norm(&vector_v); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 393 | let unitvector_t = cross_uv / nalgebra::norm(&cross_uv); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:402:41 [INFO] [stdout] | [INFO] [stdout] 402 | - s_2.center.z.powi(2)) / (2. * nalgebra::norm(&vector_u)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:407:41 [INFO] [stdout] | [INFO] [stdout] 407 | - s_3.center.z.powi(2)) / (2. * nalgebra::norm(&vector_v)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/lib.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | let dot_uv = nalgebra::dot(&unitvector_u, &unitvector_v); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/lib.rs:410:18 [INFO] [stdout] | [INFO] [stdout] 410 | let dot_wt = nalgebra::dot(&vector_w, &unitvector_t); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/lib.rs:411:18 [INFO] [stdout] | [INFO] [stdout] 411 | let dot_uw = nalgebra::dot(&unitvector_u, &vector_w); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/lib.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | let dot_vw = nalgebra::dot(&unitvector_v, &vector_w); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::norm`: use `Matrix::norm` or `Quaternion::norm` instead [INFO] [stdout] --> src/lib.rs:176:43 [INFO] [stdout] | [INFO] [stdout] 176 | let n_pc = vec_n_pc / nalgebra::norm(&vec_n_pc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/util/mod.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let det = nalgebra::dot(&edge1, &pvec); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/util/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let u = nalgebra::dot(&tvec, &pvec) * inv_det; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/util/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let v = nalgebra::dot(&dir, &qvec) * inv_det; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `nalgebra::dot`: use `Matrix::dot` or `Quaternion::dot` instead [INFO] [stdout] --> src/util/mod.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let t = nalgebra::dot(&edge2, &qvec) * inv_det; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/lib.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | front.remove_item(&curr_sphere); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncollide3d-0.17.3/src/shape/shape.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | self.type_id() == TypeId::of::() [INFO] [stdout] | ^^^^^^^ multiple `type_id` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `GetTypeId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncollide3d-0.17.3/src/shape/shape.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | fn type_id(&self) -> TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Any` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 103 | GetTypeId::type_id(&self) == TypeId::of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 103 | Any::type_id(&self) == TypeId::of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncollide3d-0.17.3/src/shape/shape.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 99 | impl Shape { [INFO] [stdout] | - this type parameter [INFO] [stdout] ... [INFO] [stdout] 103 | self.type_id() == TypeId::of::() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected type parameter `N`, found struct `TypeId` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `N` [INFO] [stdout] found struct `TypeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0525]: expected a closure that implements the `Fn` trait, but this closure only implements `FnMut` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ncollide3d-0.17.3/src/transformation/hacd.rs:734:47 [INFO] [stdout] | [INFO] [stdout] 734 | let mut add_triangle_edges = Box::new(|i: usize, t: &Point3| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this closure implements `FnMut`, not `Fn` [INFO] [stdout] ... [INFO] [stdout] 738 | let other = match prim_edges.entry(*e) { [INFO] [stdout] | ---------- closure is `FnMut` because it mutates the variable `prim_edges` here [INFO] [stdout] ... [INFO] [stdout] 753 | add_triangle_edges(i, t) [INFO] [stdout] | ------------------------ the requirement to implement `Fn` derives from here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0308, E0525. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ncollide3d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7cfdcad70fa07791591e620bce8af2cf184703dd4cbb75e4e5d0b582c4c2c9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cfdcad70fa07791591e620bce8af2cf184703dd4cbb75e4e5d0b582c4c2c9d1", kill_on_drop: false }` [INFO] [stdout] 7cfdcad70fa07791591e620bce8af2cf184703dd4cbb75e4e5d0b582c4c2c9d1