[INFO] cloning repository https://github.com/andreyrmg/game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreyrmg/game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Fgame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Fgame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb8acd145eb27c8ce32d505919504d0aab27b389 [INFO] checking andreyrmg/game against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreyrmg%2Fgame" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreyrmg/game on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreyrmg/game [INFO] removed path dependency sdl from git repo https://github.com/andreyrmg/game [INFO] finished tweaking git repo https://github.com/andreyrmg/game [INFO] tweaked toml for git repo https://github.com/andreyrmg/game written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/andreyrmg/game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl v0.3.6 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdf81ed3b57ed23de2fcbf003c37e81fddc2d4549b2ae76d32bb754e1f1196d9 [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" "cdf81ed3b57ed23de2fcbf003c37e81fddc2d4549b2ae76d32bb754e1f1196d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdf81ed3b57ed23de2fcbf003c37e81fddc2d4549b2ae76d32bb754e1f1196d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf81ed3b57ed23de2fcbf003c37e81fddc2d4549b2ae76d32bb754e1f1196d9", kill_on_drop: false }` [INFO] [stdout] cdf81ed3b57ed23de2fcbf003c37e81fddc2d4549b2ae76d32bb754e1f1196d9 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56804a669cb36197da736079556bb2ea4ee8a7634da0e9105ccc82f55cedaf7 [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" "e56804a669cb36197da736079556bb2ea4ee8a7634da0e9105ccc82f55cedaf7", kill_on_drop: false }` [INFO] [stderr] warning: dependency (sdl) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl v0.3.6 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/08_geometry_rendering.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/08_geometry_rendering.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/08_geometry_rendering.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | if let sdl::Event::Quit { .. } = event { [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/08_geometry_rendering.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | sdl::Event::Quit { .. } => break 'game, [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/01_hello_sdl.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/01_hello_sdl.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/01_hello_sdl.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sdl::Keycode`, `sdl::Keysym` [INFO] [stdout] --> examples/04_key_presses.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl::{Keycode, Keysym}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Keysym` in the root [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `keysym` [INFO] [stdout] | no `Keycode` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `image` in `sdl` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | let sdl_img = sdl.image(sdl::image::Init::PNG)?; [INFO] [stdout] | ^^^^^ could not find `image` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | if let sdl::Event::Quit { .. } = event { [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `image` in `sdl` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let img = sdl.image(sdl::image::Init::PNG)?; [INFO] [stdout] | ^^^^^ could not find `image` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | if let sdl::Event::Quit { .. } = event { [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/03_event_driven_programming.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/03_event_driven_programming.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/03_event_driven_programming.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | sdl::Event::Quit { .. } => break 'game, [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/03_event_driven_programming.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/02_getting_an_image_on_the_screen.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/02_getting_an_image_on_the_screen.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/02_getting_an_image_on_the_screen.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `hint` in `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | sdl.set_hint(sdl::hint::RENDER_SCALE_QUALITY, "1"); [INFO] [stdout] | ^^^^ could not find `hint` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `image` in `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | let sdl_img = sdl.image(sdl::image::Init::PNG)?; [INFO] [stdout] | ^^^^^ could not find `image` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | if let sdl::Event::Quit { .. } = event { [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/09_the_viewport.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Init` in `sdl` [INFO] [stdout] --> examples/04_key_presses.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^ could not find `Init` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `window` in `sdl` [INFO] [stdout] --> examples/04_key_presses.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | sdl::window::Flags::SHOWN, [INFO] [stdout] | ^^^^^^ could not find `window` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/04_key_presses.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | sdl::Event::Quit { .. } => break 'game, [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `sdl` [INFO] [stdout] --> examples/04_key_presses.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | sdl::Event::KeyDown { [INFO] [stdout] | ^^^^^ could not find `Event` in `sdl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Result` in crate `sdl` [INFO] [stdout] --> examples/04_key_presses.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() -> sdl::Result<()> { [INFO] [stdout] | ^^^^^^ not found in `sdl` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::result::Result; [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/02_getting_an_image_on_the_screen.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/01_hello_sdl.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/08_geometry_rendering.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | x: SCREEN_WIDTH / 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/09_the_viewport.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/07_texture_loading_and_rendering.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/03_event_driven_programming.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | y: SCREEN_HEIGHT / 4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | w: SCREEN_WIDTH / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> examples/04_key_presses.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let sdl = sdl::init(sdl::Init::VIDEO)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `bool` [INFO] [stdout] = note: required by `into_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | h: SCREEN_HEIGHT / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | w: SCREEN_WIDTH / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | x: SCREEN_WIDTH / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | w: SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | h: SCREEN_HEIGHT / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/05_optimized_surface_loading_and_soft_stretching.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | h: SCREEN_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | w: SCREEN_WIDTH / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | w: SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | x: SCREEN_WIDTH / 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | y: SCREEN_HEIGHT / 6, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/06_extension_libraries_and_loading_other_image_formats.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | h: SCREEN_HEIGHT, [INFO] [stdout] | ^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | h: SCREEN_HEIGHT / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | w: SCREEN_WIDTH * 2 / 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | y: SCREEN_HEIGHT / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `i16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/08_geometry_rendering.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | h: SCREEN_HEIGHT * 2 / 3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | w: SCREEN_WIDTH, [INFO] [stdout] | ^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/09_the_viewport.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | h: SCREEN_HEIGHT / 2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u16`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e56804a669cb36197da736079556bb2ea4ee8a7634da0e9105ccc82f55cedaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56804a669cb36197da736079556bb2ea4ee8a7634da0e9105ccc82f55cedaf7", kill_on_drop: false }` [INFO] [stdout] e56804a669cb36197da736079556bb2ea4ee8a7634da0e9105ccc82f55cedaf7