[INFO] fetching crate offscreen_gl_context 0.25.1... [INFO] checking offscreen_gl_context-0.25.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate offscreen_gl_context 0.25.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate offscreen_gl_context 0.25.1 [INFO] finished tweaking crates.io crate offscreen_gl_context 0.25.1 [INFO] tweaked toml for crates.io crate offscreen_gl_context 0.25.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate offscreen_gl_context 0.25.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 54 packages to latest compatible versions [INFO] [stderr] Adding core-foundation v0.6.4 (available: v0.10.1) [INFO] [stderr] Adding euclid v0.20.14 (available: v0.22.11) [INFO] [stderr] Adding gl_generator v0.13.1 (available: v0.14.0) [INFO] [stderr] Adding libloading v0.5.2 (available: v0.8.8) [INFO] [stderr] Adding mozangle v0.2.7 (available: v0.5.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sparkle v0.1.26 [INFO] [stderr] Downloaded mozangle v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0e5ee3f1d8c452ffcc5fa4119d4b7c2c60fcdc3177ced4d45f92e685959504f [INFO] running `Command { std: "docker" "start" "-a" "a0e5ee3f1d8c452ffcc5fa4119d4b7c2c60fcdc3177ced4d45f92e685959504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0e5ee3f1d8c452ffcc5fa4119d4b7c2c60fcdc3177ced4d45f92e685959504f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e5ee3f1d8c452ffcc5fa4119d4b7c2c60fcdc3177ced4d45f92e685959504f", kill_on_drop: false }` [INFO] [stdout] a0e5ee3f1d8c452ffcc5fa4119d4b7c2c60fcdc3177ced4d45f92e685959504f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 773ba9a2ec73072cfc62da89abdf1044b3156e98ba16fcfa67cd3f16c69325c8 [INFO] running `Command { std: "docker" "start" "-a" "773ba9a2ec73072cfc62da89abdf1044b3156e98ba16fcfa67cd3f16c69325c8", kill_on_drop: false }` [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Compiling offscreen_gl_context v0.25.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling sparkle v0.1.26 [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> /opt/rustwide/target/debug/build/offscreen_gl_context-f27551e49e0c92a3/out/glx_bindings.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_osmesa` [INFO] [stdout] --> src/tests.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature="test_osmesa")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lazy_static`, `libloading`, `no_wgl`, `osmesa`, `osmesa-sys`, `serde`, `test_egl_in_linux`, and `x11` [INFO] [stdout] = help: consider adding `test_osmesa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_osmesa` [INFO] [stdout] --> src/tests.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(not(any(feature = "test_egl_in_linux", feature = "test_osmesa")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lazy_static`, `libloading`, `no_wgl`, `osmesa`, `osmesa-sys`, `serde`, `test_egl_in_linux`, and `x11` [INFO] [stdout] = help: consider adding `test_osmesa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_osmesa` [INFO] [stdout] --> src/tests.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(feature = "test_osmesa"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lazy_static`, `libloading`, `no_wgl`, `osmesa`, `osmesa-sys`, `serde`, `test_egl_in_linux`, and `x11` [INFO] [stdout] = help: consider adding `test_osmesa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_osmesa` [INFO] [stdout] --> src/tests.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[cfg(not(feature = "test_osmesa"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lazy_static`, `libloading`, `no_wgl`, `osmesa`, `osmesa-sys`, `serde`, `test_egl_in_linux`, and `x11` [INFO] [stdout] = help: consider adding `test_osmesa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `test_osmesa` [INFO] [stdout] --> src/tests.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(not(feature = "test_osmesa"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `lazy_static`, `libloading`, `no_wgl`, `osmesa`, `osmesa-sys`, `serde`, `test_egl_in_linux`, and `x11` [INFO] [stdout] = help: consider adding `test_osmesa` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> /opt/rustwide/target/debug/build/offscreen_gl_context-f27551e49e0c92a3/out/glx_bindings.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw_buffer.rs:192:146 [INFO] [stdout] | [INFO] [stdout] 191 | ...gl().tex_image_2d(gl::TEXTURE_2D, 0, [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] 192 | ... formats.texture_internal as GLint, self.size.width, self.size.height, 0, formats.texture, formats.texture_type, None); [INFO] [stdout] | ^^^^ expected `TexImageSource<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TexImageSource<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sparkle-0.1.26/src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn tex_image_2d( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `sparkle::gl::TexImageSource::Pixels` [INFO] [stdout] | [INFO] [stdout] 192 | formats.texture_internal as GLint, self.size.width, self.size.height, 0, formats.texture, formats.texture_type, sparkle::gl::TexImageSource::Pixels(None)); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw_buffer.rs:192:146 [INFO] [stdout] | [INFO] [stdout] 191 | ...gl().tex_image_2d(gl::TEXTURE_2D, 0, [INFO] [stdout] | ------------ arguments to this method are incorrect [INFO] [stdout] 192 | ... formats.texture_internal as GLint, self.size.width, self.size.height, 0, formats.texture, formats.texture_type, None); [INFO] [stdout] | ^^^^ expected `TexImageSource<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `TexImageSource<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sparkle-0.1.26/src/lib.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn tex_image_2d( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `sparkle::gl::TexImageSource::Pixels` [INFO] [stdout] | [INFO] [stdout] 192 | formats.texture_internal as GLint, self.size.width, self.size.height, 0, formats.texture, formats.texture_type, sparkle::gl::TexImageSource::Pixels(None)); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `offscreen_gl_context` (lib test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `offscreen_gl_context` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "773ba9a2ec73072cfc62da89abdf1044b3156e98ba16fcfa67cd3f16c69325c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "773ba9a2ec73072cfc62da89abdf1044b3156e98ba16fcfa67cd3f16c69325c8", kill_on_drop: false }` [INFO] [stdout] 773ba9a2ec73072cfc62da89abdf1044b3156e98ba16fcfa67cd3f16c69325c8