[INFO] fetching crate sdl2_image 0.25.0... [INFO] checking sdl2_image-0.25.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate sdl2_image 0.25.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate sdl2_image 0.25.0 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 crates.io crate sdl2_image 0.25.0 [INFO] finished tweaking crates.io crate sdl2_image 0.25.0 [INFO] tweaked toml for crates.io crate sdl2_image 0.25.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 20 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.6.0 (available: v2.6.0) [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding sdl2 v0.25.0 (available: v0.37.0) [INFO] [stderr] Adding sdl2-sys v0.25.0 (available: v0.37.0) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded sdl2 v0.25.0 [INFO] [stderr] Downloaded bitflags v0.6.0 [INFO] [stderr] Downloaded sdl2-sys v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 16d53050436875c5bdbf491b7d93c9bd0f581c6970d66afeb728efad65dd8806 [INFO] running `Command { std: "docker" "start" "-a" "16d53050436875c5bdbf491b7d93c9bd0f581c6970d66afeb728efad65dd8806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16d53050436875c5bdbf491b7d93c9bd0f581c6970d66afeb728efad65dd8806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d53050436875c5bdbf491b7d93c9bd0f581c6970d66afeb728efad65dd8806", kill_on_drop: false }` [INFO] [stdout] 16d53050436875c5bdbf491b7d93c9bd0f581c6970d66afeb728efad65dd8806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 76eb2b17fadd5a0fc39261f1322f0aa498f8d9fdfa8c6c6de4f0bc72f97682f7 [INFO] running `Command { std: "docker" "start" "-a" "76eb2b17fadd5a0fc39261f1322f0aa498f8d9fdfa8c6c6de4f0bc72f97682f7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.25.0 [INFO] [stderr] Checking sdl2_image v0.25.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sdl2_image/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / /// InitFlags are passed to init() to control which subsystem [INFO] [stdout] 42 | | /// functionality to load. [INFO] [stdout] | |_-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_image/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / bitflags! { [INFO] [stdout] 44 | | pub flags InitFlag : u32 { [INFO] [stdout] 45 | | const INIT_JPG = ::ffi::IMG_INIT_JPG as u32, [INFO] [stdout] 46 | | const INIT_PNG = ::ffi::IMG_INIT_PNG as u32, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_image/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / bitflags! { [INFO] [stdout] 44 | | pub flags InitFlag : u32 { [INFO] [stdout] 45 | | const INIT_JPG = ::ffi::IMG_INIT_JPG as u32, [INFO] [stdout] 46 | | const INIT_PNG = ::ffi::IMG_INIT_PNG as u32, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/sdl2_image/lib.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / /// InitFlags are passed to init() to control which subsystem [INFO] [stdout] 42 | | /// functionality to load. [INFO] [stdout] | |_-------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_image/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / bitflags! { [INFO] [stdout] 44 | | pub flags InitFlag : u32 { [INFO] [stdout] 45 | | const INIT_JPG = ::ffi::IMG_INIT_JPG as u32, [INFO] [stdout] 46 | | const INIT_PNG = ::ffi::IMG_INIT_PNG as u32, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sdl2_image/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / bitflags! { [INFO] [stdout] 44 | | pub flags InitFlag : u32 { [INFO] [stdout] 45 | | const INIT_JPG = ::ffi::IMG_INIT_JPG as u32, [INFO] [stdout] 46 | | const INIT_PNG = ::ffi::IMG_INIT_PNG as u32, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0254]: the name `sdl2_image` is defined multiple times [INFO] [stdout] --> examples/demo.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate sdl2_image; [INFO] [stdout] | ------------------------ previous import of the extern crate `sdl2_image` here [INFO] [stdout] ... [INFO] [stdout] 8 | use sdl2_image::{self, LoadTexture, INIT_PNG, INIT_JPG}; [INFO] [stdout] | ^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `sdl2_image` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `sdl2_image` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> examples/demo.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2_image::{self, LoadTexture, INIT_PNG, INIT_JPG}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2_image` (example "demo") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "76eb2b17fadd5a0fc39261f1322f0aa498f8d9fdfa8c6c6de4f0bc72f97682f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76eb2b17fadd5a0fc39261f1322f0aa498f8d9fdfa8c6c6de4f0bc72f97682f7", kill_on_drop: false }` [INFO] [stdout] 76eb2b17fadd5a0fc39261f1322f0aa498f8d9fdfa8c6c6de4f0bc72f97682f7