[INFO] cloning repository https://github.com/AntonZelenin/rust-physics-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntonZelenin/rust-physics-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonZelenin%2Frust-physics-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonZelenin%2Frust-physics-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ec17c30a736f4d93c90f1b4abfaeb4da89f9ea6 [INFO] checking AntonZelenin/rust-physics-engine/2ec17c30a736f4d93c90f1b4abfaeb4da89f9ea6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonZelenin%2Frust-physics-engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AntonZelenin/rust-physics-engine on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AntonZelenin/rust-physics-engine [INFO] finished tweaking git repo https://github.com/AntonZelenin/rust-physics-engine [INFO] tweaked toml for git repo https://github.com/AntonZelenin/rust-physics-engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AntonZelenin/rust-physics-engine 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.52 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.52 [INFO] [stderr] Downloaded simba v0.1.2 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.52 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.52 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded rusttype v0.8.1 [INFO] [stderr] Downloaded glutin v0.19.0 [INFO] [stderr] Downloaded rustc-hash v1.0.1 [INFO] [stderr] Downloaded stb_truetype v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.52 [INFO] [stderr] Downloaded winit v0.18.1 [INFO] [stderr] Downloaded ncollide3d v0.23.0 [INFO] [stderr] Downloaded nalgebra v0.21.1 [INFO] [stderr] Downloaded kiss3d v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4845818f424d621701b32e531d8c51d9ac2f085e83fbf6ac30687602faf3978 [INFO] running `Command { std: "docker" "start" "-a" "f4845818f424d621701b32e531d8c51d9ac2f085e83fbf6ac30687602faf3978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4845818f424d621701b32e531d8c51d9ac2f085e83fbf6ac30687602faf3978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4845818f424d621701b32e531d8c51d9ac2f085e83fbf6ac30687602faf3978", kill_on_drop: false }` [INFO] [stdout] f4845818f424d621701b32e531d8c51d9ac2f085e83fbf6ac30687602faf3978 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c9545220296dbf76021ed213ea76ad9e6560b446c0fe09221d284f6bd3fa75 [INFO] running `Command { std: "docker" "start" "-a" "91c9545220296dbf76021ed213ea76ad9e6560b446c0fe09221d284f6bd3fa75", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libm v0.2.1 [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 byteorder v1.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling rayon-core v1.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rayon v1.2.0 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking petgraph v0.5.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking rust-physics-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/rigid_body/mod.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | q: &Quaternion, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cable` is never constructed [INFO] [stdout] --> src/particle/collision/link.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Cable<'a, P: ParticleTrait> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `current_length` is never used [INFO] [stdout] --> src/particle/collision/link.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a, P: ParticleTrait> Cable<'a, P> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] 19 | fn current_length(&self) -> Real { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sea_level_height` is never read [INFO] [stdout] --> src/particle/force_generator/air_buoyancy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AirBuoyancy { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | sea_level_height: Real, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeformableSpring` is never constructed [INFO] [stdout] --> src/particle/force_generator/deformable_spring.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct DeformableSpring<'a, PT: ParticleTrait> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/particle/force_generator/deformable_spring.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, PT: ParticleTrait> DeformableSpring<'a, PT> { [INFO] [stdout] | ---------------------------------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Drag` is never constructed [INFO] [stdout] --> src/particle/force_generator/drag.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Drag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/particle/force_generator/drag.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Drag { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(k1: Real, k2: Real) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `World` is never constructed [INFO] [stdout] --> src/particle/world.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct World<'a, P, C, FR, FG> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_physics` and `integrate` are never used [INFO] [stdout] --> src/particle/world.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | / impl<'a, P, C, FR, FG> World<'a, P, C, FR, FG> [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | P: ParticleTrait, [INFO] [stdout] 29 | | C: ContactGenerator<'a, P>, [INFO] [stdout] 30 | | FR: ForceRegistry, [INFO] [stdout] 31 | | FG: ForceGenerator, [INFO] [stdout] | |_______________________- methods in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn run_physics(&'a mut self, duration: Real) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn integrate(&mut self, duration: Real) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking simba v0.1.2 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking ncollide3d v0.23.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ncollide3d-0.23.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-6f17d22bba15001f/ncollide3d-0.23.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] error: aborting due to 2 previous errors [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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "91c9545220296dbf76021ed213ea76ad9e6560b446c0fe09221d284f6bd3fa75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c9545220296dbf76021ed213ea76ad9e6560b446c0fe09221d284f6bd3fa75", kill_on_drop: false }` [INFO] [stdout] 91c9545220296dbf76021ed213ea76ad9e6560b446c0fe09221d284f6bd3fa75