[INFO] fetching crate sdl2_image 0.25.0... [INFO] checking sdl2_image-0.25.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate sdl2_image 0.25.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sdl2_image 0.25.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7130de07725af7785b4f003e884485d014333b7320c318d91ed65ebf3368724 [INFO] running `Command { std: "docker" "start" "-a" "e7130de07725af7785b4f003e884485d014333b7320c318d91ed65ebf3368724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7130de07725af7785b4f003e884485d014333b7320c318d91ed65ebf3368724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7130de07725af7785b4f003e884485d014333b7320c318d91ed65ebf3368724", kill_on_drop: false }` [INFO] [stdout] e7130de07725af7785b4f003e884485d014333b7320c318d91ed65ebf3368724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a07a3b66b8a92fa14a08e745e72d3c8667968479cd034a14d4d725c048ea2db8 [INFO] running `Command { std: "docker" "start" "-a" "a07a3b66b8a92fa14a08e745e72d3c8667968479cd034a14d4d725c048ea2db8", kill_on_drop: false }` [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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: `#[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: 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 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` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a07a3b66b8a92fa14a08e745e72d3c8667968479cd034a14d4d725c048ea2db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a07a3b66b8a92fa14a08e745e72d3c8667968479cd034a14d4d725c048ea2db8", kill_on_drop: false }` [INFO] [stdout] a07a3b66b8a92fa14a08e745e72d3c8667968479cd034a14d4d725c048ea2db8