[INFO] fetching crate sdl2_image 0.25.0... [INFO] checking sdl2_image-0.25.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [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 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 95d6918fdeebccfafb9a6a0154e73c3fb1697060c44103a3447fde5b65958a09 [INFO] running `Command { std: "docker" "start" "-a" "95d6918fdeebccfafb9a6a0154e73c3fb1697060c44103a3447fde5b65958a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95d6918fdeebccfafb9a6a0154e73c3fb1697060c44103a3447fde5b65958a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95d6918fdeebccfafb9a6a0154e73c3fb1697060c44103a3447fde5b65958a09", kill_on_drop: false }` [INFO] [stdout] 95d6918fdeebccfafb9a6a0154e73c3fb1697060c44103a3447fde5b65958a09 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5468af1080b11e5bc9786481f9806439eebb06075d3acd5cac692775c4273f8e [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" "5468af1080b11e5bc9786481f9806439eebb06075d3acd5cac692775c4273f8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [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: 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: 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: 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" "5468af1080b11e5bc9786481f9806439eebb06075d3acd5cac692775c4273f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5468af1080b11e5bc9786481f9806439eebb06075d3acd5cac692775c4273f8e", kill_on_drop: false }` [INFO] [stdout] 5468af1080b11e5bc9786481f9806439eebb06075d3acd5cac692775c4273f8e