[INFO] fetching crate oxen 0.0.2... [INFO] checking oxen-0.0.2 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate oxen 0.0.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate oxen 0.0.2 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oxen 0.0.2 [INFO] finished tweaking crates.io crate oxen 0.0.2 [INFO] tweaked toml for crates.io crate oxen 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4b9ce60d3ba21b3c8b17fefa3a256017a851965cd92cc3cf99c1e47b85d57ac [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" "e4b9ce60d3ba21b3c8b17fefa3a256017a851965cd92cc3cf99c1e47b85d57ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4b9ce60d3ba21b3c8b17fefa3a256017a851965cd92cc3cf99c1e47b85d57ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b9ce60d3ba21b3c8b17fefa3a256017a851965cd92cc3cf99c1e47b85d57ac", kill_on_drop: false }` [INFO] [stdout] e4b9ce60d3ba21b3c8b17fefa3a256017a851965cd92cc3cf99c1e47b85d57ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bef91a8ca8c34c7463f001328daa08be162d7165aed8d30d2aa2f64ec8e3e535 [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" "bef91a8ca8c34c7463f001328daa08be162d7165aed8d30d2aa2f64ec8e3e535", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.59 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.30.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking oxen v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use glium::DisplayBuild; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/lib.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | glutin::Event::Closed => return, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | display: glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Display` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | behaviour_sender: Option>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_behaviour(&mut self, behaviour: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | let mut behaviours = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/lib.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | glutin::Event::Closed => return, [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/lib.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | display: glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Display` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:32:41 [INFO] [stdout] | [INFO] [stdout] 32 | behaviour_sender: Option>>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:60:52 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn add_behaviour(&mut self, behaviour: Box) { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:126:40 [INFO] [stdout] | [INFO] [stdout] 126 | let mut behaviours = Vec::>::new(); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Behaviour` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if time::precise_time_ns() - previous_second > 1000000000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | previous_second = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if time::precise_time_ns() - previous_second > 1000000000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | previous_second = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if time::precise_time_ns() - previous_second > 1000000000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | previous_second = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | if time::precise_time_ns() - previous_second > 1000000000 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_ns`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/lib.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | previous_second = time::precise_time_ns(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `per_instance_if_supported` found for struct `VertexBufferAny` in the current scope [INFO] [stdout] --> src/lib.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | (&render_object.vertices, instances.per_instance_if_supported().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `VertexBufferAny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `per_instance_if_supported` found for struct `VertexBufferAny` in the current scope [INFO] [stdout] --> src/lib.rs:99:57 [INFO] [stdout] | [INFO] [stdout] 99 | (&render_object.vertices, instances.per_instance_if_supported().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `VertexBufferAny` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | for event in self.display.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll_events` found for struct `glium::Display` in the current scope [INFO] [stdout] --> src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | for event in self.display.poll_events() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `glium::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | VertexBuffer::new(&self.display, data).into_vertex_buffer_any() [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&data` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | VertexBuffer::new(&self.display, data).into_vertex_buffer_any() [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[_]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&data` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_vertex_buffer_any` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 173 | VertexBuffer::new(&self.display, data).into_vertex_buffer_any() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_vertex_buffer_any` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 173 | VertexBuffer::new(&self.display, data).into_vertex_buffer_any() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / vec![ [INFO] [stdout] 33 | | Vertex { vertex_position: [ -0.5, 0.5], vertex_color: colour }, [INFO] [stdout] 34 | | Vertex { vertex_position: [ 0.5, 0.5], vertex_color: colour }, [INFO] [stdout] 35 | | Vertex { vertex_position: [ 0.5, -0.5], vertex_color: colour }, [INFO] [stdout] 36 | | Vertex { vertex_position: [ -0.5, -0.5], vertex_color: colour }, [INFO] [stdout] 37 | | ] [INFO] [stdout] | |_________^ expected `&[_]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / vec![ [INFO] [stdout] 33 | | Vertex { vertex_position: [ -0.5, 0.5], vertex_color: colour }, [INFO] [stdout] 34 | | Vertex { vertex_position: [ 0.5, 0.5], vertex_color: colour }, [INFO] [stdout] 35 | | Vertex { vertex_position: [ 0.5, -0.5], vertex_color: colour }, [INFO] [stdout] 36 | | Vertex { vertex_position: [ -0.5, -0.5], vertex_color: colour }, [INFO] [stdout] 37 | | ] [INFO] [stdout] | |_________^ expected `&[_]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_vertex_buffer_any` found for enum `Result` in the current scope [INFO] [stdout] --> src/models.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | ).into_vertex_buffer_any() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_vertex_buffer_any` found for enum `Result` in the current scope [INFO] [stdout] --> src/models.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | ).into_vertex_buffer_any() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ method not found in `Result, glium::vertex::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | IndexBuffer::new(display, TrianglesList, vec![0, 1, 2, 0, 2, 3]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `&[_]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | IndexBuffer::new(display, TrianglesList, vec![0, 1, 2, 0, 2, 3]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected `&[_]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[_]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn square_indices(display: &Display) -> IndexBuffer { [INFO] [stdout] | ---------------- expected `glium::IndexBuffer` because of return type [INFO] [stdout] 42 | IndexBuffer::new(display, TrianglesList, vec![0, 1, 2, 0, 2, 3]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `glium::IndexBuffer`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `glium::IndexBuffer` [INFO] [stdout] found enum `Result, glium::index::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxen` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn square_indices(display: &Display) -> IndexBuffer { [INFO] [stdout] | ---------------- expected `glium::IndexBuffer` because of return type [INFO] [stdout] 42 | IndexBuffer::new(display, TrianglesList, vec![0, 1, 2, 0, 2, 3]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `glium::IndexBuffer`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `glium::IndexBuffer` [INFO] [stdout] found enum `Result, glium::index::BufferCreationError>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bef91a8ca8c34c7463f001328daa08be162d7165aed8d30d2aa2f64ec8e3e535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bef91a8ca8c34c7463f001328daa08be162d7165aed8d30d2aa2f64ec8e3e535", kill_on_drop: false }` [INFO] [stdout] bef91a8ca8c34c7463f001328daa08be162d7165aed8d30d2aa2f64ec8e3e535