[INFO] fetching crate sdl2_image 0.25.0... [INFO] checking sdl2_image-0.25.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate sdl2_image 0.25.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate sdl2_image 0.25.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1452d60b1b0f99cc5cc1d5687185f9ba3af43d212ad70574a0271e3ef4f782d1 [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" "1452d60b1b0f99cc5cc1d5687185f9ba3af43d212ad70574a0271e3ef4f782d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1452d60b1b0f99cc5cc1d5687185f9ba3af43d212ad70574a0271e3ef4f782d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1452d60b1b0f99cc5cc1d5687185f9ba3af43d212ad70574a0271e3ef4f782d1", kill_on_drop: false }` [INFO] [stdout] 1452d60b1b0f99cc5cc1d5687185f9ba3af43d212ad70574a0271e3ef4f782d1 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7aa6f24eac0d445a6c51220191328029515df23dcef940de201fda7ef17845 [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" "cf7aa6f24eac0d445a6c51220191328029515df23dcef940de201fda7ef17845", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [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] 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// functionality to load. [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | /// functionality to load. [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] [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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cf7aa6f24eac0d445a6c51220191328029515df23dcef940de201fda7ef17845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7aa6f24eac0d445a6c51220191328029515df23dcef940de201fda7ef17845", kill_on_drop: false }` [INFO] [stdout] cf7aa6f24eac0d445a6c51220191328029515df23dcef940de201fda7ef17845