[INFO] cloning repository https://github.com/ibodrov/gfx-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibodrov/gfx-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibodrov%2Fgfx-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibodrov%2Fgfx-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] edc62758182150a84a1b5ab067cdcee4f7636e8f [INFO] checking ibodrov/gfx-test against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibodrov%2Fgfx-test" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ibodrov/gfx-test on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ibodrov/gfx-test [INFO] finished tweaking git repo https://github.com/ibodrov/gfx-test [INFO] tweaked toml for git repo https://github.com/ibodrov/gfx-test written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ibodrov/gfx-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb3109139ae913a3dcaaf527ff837d4f39e627e0c49fd22a726959895711f5e5 [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" "cb3109139ae913a3dcaaf527ff837d4f39e627e0c49fd22a726959895711f5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb3109139ae913a3dcaaf527ff837d4f39e627e0c49fd22a726959895711f5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb3109139ae913a3dcaaf527ff837d4f39e627e0c49fd22a726959895711f5e5", kill_on_drop: false }` [INFO] [stdout] cb3109139ae913a3dcaaf527ff837d4f39e627e0c49fd22a726959895711f5e5 [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] faf86d6b2916badc0a1b3a7b8cbcb7ab60e634e3415159a7b27b1555741cd0f6 [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" "faf86d6b2916badc0a1b3a7b8cbcb7ab60e634e3415159a7b27b1555741cd0f6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking wayland-protocols v0.21.13 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking gfx_window_glutin v0.31.0 [INFO] [stderr] Checking gfx-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferRole` in `gfx` [INFO] [stdout] --> src/main.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | factory.create_buffer_const(&attributes, gfx::BufferRole::Vertex, gfx::Bind::empty()).unwrap() [INFO] [stdout] | ^^^^^^^^^^ could not find `BufferRole` in `gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) | [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/main.rs:96:65 [INFO] [stdout] | [INFO] [stdout] 96 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) | [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | glutin::Event::Closed => break 'main, [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/main.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let builder = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Bind` in `gfx` [INFO] [stdout] --> src/main.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | factory.create_buffer_const(&attributes, gfx::BufferRole::Vertex, gfx::Bind::empty()).unwrap() [INFO] [stdout] | ^^^^ not found in `gfx` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use gfx::memory::Bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferRole` in `gfx` [INFO] [stdout] --> src/main.rs:75:55 [INFO] [stdout] | [INFO] [stdout] 75 | factory.create_buffer_const(&attributes, gfx::BufferRole::Vertex, gfx::Bind::empty()).unwrap() [INFO] [stdout] | ^^^^^^^^^^ could not find `BufferRole` in `gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) | [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/main.rs:96:65 [INFO] [stdout] | [INFO] [stdout] 96 | glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) | [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/main.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | glutin::Event::Closed => break 'main, [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/main.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | let builder = glutin::WindowBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Bind` in `gfx` [INFO] [stdout] --> src/main.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | factory.create_buffer_const(&attributes, gfx::BufferRole::Vertex, gfx::Bind::empty()).unwrap() [INFO] [stdout] | ^^^^ not found in `gfx` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use gfx::memory::Bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::Factory` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use gfx::traits::Factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::Factory` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use gfx::traits::Factory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `time::precise_time_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let t2 = time::precise_time_s(); [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_s`: Use `OffsetDateTime::now() - OffsetDateTime::unix_epoch()` to get a `Duration` since a known epoch. [INFO] [stdout] --> src/main.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | let t2 = time::precise_time_s(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let (window, mut device, mut factory, main_color, _main_depth) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found tuple [INFO] [stdout] 52 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ------------------------------------------------------------ this expression has type `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] found tuple `(_, _, _, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let (window, mut device, mut factory, main_color, _main_depth) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found tuple [INFO] [stdout] 52 | gfx_window_glutin::init::(builder); [INFO] [stdout] | ------------------------------------------------------------ this expression has type `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(glutin::windowed::ContextWrapper, gfx_device_gl::Device, gfx_device_gl::Factory, RenderTargetView, DepthStencilView), glutin::CreationError>` [INFO] [stdout] found tuple `(_, _, _, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::Device` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx::Device; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gfx-test` [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] warning: unused import: `gfx::traits::FactoryExt` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gfx::traits::FactoryExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gfx::Device` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use gfx::Device; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "faf86d6b2916badc0a1b3a7b8cbcb7ab60e634e3415159a7b27b1555741cd0f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf86d6b2916badc0a1b3a7b8cbcb7ab60e634e3415159a7b27b1555741cd0f6", kill_on_drop: false }` [INFO] [stdout] faf86d6b2916badc0a1b3a7b8cbcb7ab60e634e3415159a7b27b1555741cd0f6