[INFO] fetching crate sdl2_image 0.25.0... [INFO] checking sdl2_image-0.25.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sdl2_image 0.25.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sdl2_image 0.25.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef352ecbce1c2a84abe6ee7665453e49f727f9f29944bc6141aa8fea2d610074 [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" "ef352ecbce1c2a84abe6ee7665453e49f727f9f29944bc6141aa8fea2d610074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef352ecbce1c2a84abe6ee7665453e49f727f9f29944bc6141aa8fea2d610074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef352ecbce1c2a84abe6ee7665453e49f727f9f29944bc6141aa8fea2d610074", kill_on_drop: false }` [INFO] [stdout] ef352ecbce1c2a84abe6ee7665453e49f727f9f29944bc6141aa8fea2d610074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01cea1953165a4508a2ca1e8c54f9df0e42515a4abd62ebe8706353e455f0d29 [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" "01cea1953165a4508a2ca1e8c54f9df0e42515a4abd62ebe8706353e455f0d29", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling sdl2-sys v0.25.0 [INFO] [stderr] Checking rand v0.4.6 [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.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: 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" "01cea1953165a4508a2ca1e8c54f9df0e42515a4abd62ebe8706353e455f0d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cea1953165a4508a2ca1e8c54f9df0e42515a4abd62ebe8706353e455f0d29", kill_on_drop: false }` [INFO] [stdout] 01cea1953165a4508a2ca1e8c54f9df0e42515a4abd62ebe8706353e455f0d29