[INFO] updating cached repository https://github.com/clstl/learnopengl-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b419f2c590e62a9a63fa0b4e9f560bbc2cbeeac3 [INFO] checking clstl/learnopengl-rs against try#e60d9e09c55855f5a848fde8ad83e13131a5b241 for pr-68350 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclstl%2Flearnopengl-rs" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clstl/learnopengl-rs on toolchain e60d9e09c55855f5a848fde8ad83e13131a5b241 [INFO] running `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/clstl/learnopengl-rs [INFO] finished tweaking git repo https://github.com/clstl/learnopengl-rs [INFO] tweaked toml for git repo https://github.com/clstl/learnopengl-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/clstl/learnopengl-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e60d9e09c55855f5a848fde8ad83e13131a5b241" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 52763eab35b170aa0b8dffd5ebcee82f4f8ffbf9a52410febca3db17528c9159 [INFO] running `"docker" "start" "-a" "52763eab35b170aa0b8dffd5ebcee82f4f8ffbf9a52410febca3db17528c9159"` [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glium v0.25.1 [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 learnopengl v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `glium::glutin::Event::Closed`, `glium::glutin::Event::KeyboardInput` [INFO] [stderr] --> src/main.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use glium::glutin::Event::{Closed, KeyboardInput}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ no `KeyboardInput` in `glutin::Event` [INFO] [stderr] | | [INFO] [stderr] | no `Closed` in `glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Surface` is imported redundantly [INFO] [stderr] --> src/main.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 4 | use glium::Surface; [INFO] [stderr] | -------------- the item `Surface` is already imported here [INFO] [stderr] ... [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | .with_dimensions(800, 600) [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `glium::glutin::Event::Closed`, `glium::glutin::Event::KeyboardInput` [INFO] [stderr] --> src/main.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use glium::glutin::Event::{Closed, KeyboardInput}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ no `KeyboardInput` in `glutin::Event` [INFO] [stderr] | | [INFO] [stderr] | no `Closed` in `glutin::Event` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `glium::DisplayBuild` [INFO] [stderr] --> src/main.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^^^^^^ no `DisplayBuild` in the root [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Surface` is imported redundantly [INFO] [stderr] --> src/main.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 4 | use glium::Surface; [INFO] [stderr] | -------------- the item `Surface` is already imported here [INFO] [stderr] ... [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 1 parameter but 2 parameters were supplied [INFO] [stderr] --> src/main.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | .with_dimensions(800, 600) [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected 1 parameter [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `with_gl` found for struct `glium::glutin::WindowBuilder` in the current scope [INFO] [stderr] --> src/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | .with_gl(GlRequest::Specific(Api::OpenGl, (3, 3))) [INFO] [stderr] | ^^^^^^^ method not found in `glium::glutin::WindowBuilder` [INFO] [stderr] [INFO] [stderr] warning: unused import: `glium::Surface` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use glium::Surface; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/main.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `learnopengl`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `with_gl` found for struct `glium::glutin::WindowBuilder` in the current scope [INFO] [stderr] --> src/main.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | .with_gl(GlRequest::Specific(Api::OpenGl, (3, 3))) [INFO] [stderr] | ^^^^^^^ method not found in `glium::glutin::WindowBuilder` [INFO] [stderr] [INFO] [stderr] warning: unused import: `glium::Surface` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use glium::Surface; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Surface` [INFO] [stderr] --> src/main.rs:12:31 [INFO] [stderr] | [INFO] [stderr] 12 | use glium::{DisplayBuild, Surface}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `learnopengl`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "52763eab35b170aa0b8dffd5ebcee82f4f8ffbf9a52410febca3db17528c9159"` [INFO] running `"docker" "rm" "-f" "52763eab35b170aa0b8dffd5ebcee82f4f8ffbf9a52410febca3db17528c9159"` [INFO] [stdout] 52763eab35b170aa0b8dffd5ebcee82f4f8ffbf9a52410febca3db17528c9159