[INFO] crate cuivre 0.1.4 is already in cache [INFO] testing cuivre-0.1.4 against 1.38.0 for beta-1.39-1 [INFO] extracting crate cuivre 0.1.4 into work/builds/worker-2/source [INFO] validating manifest of crates.io crate cuivre 0.1.4 on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate cuivre 0.1.4 [INFO] finished tweaking crates.io crate cuivre 0.1.4 [INFO] tweaked toml for crates.io crate cuivre 0.1.4 written to work/builds/worker-2/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] e3373c3fee31df8e09c5c14477804e42e64a75cb383c3c746c643d68311412ee [INFO] running `"docker" "start" "-a" "e3373c3fee31df8e09c5c14477804e42e64a75cb383c3c746c643d68311412ee"` [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling rusttype v0.6.5 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling cuivre v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/shaders.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:56:32 [INFO] [stderr] | [INFO] [stderr] 56 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.69s [INFO] running `"docker" "inspect" "e3373c3fee31df8e09c5c14477804e42e64a75cb383c3c746c643d68311412ee"` [INFO] running `"docker" "rm" "-f" "e3373c3fee31df8e09c5c14477804e42e64a75cb383c3c746c643d68311412ee"` [INFO] [stdout] e3373c3fee31df8e09c5c14477804e42e64a75cb383c3c746c643d68311412ee [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen" "--no-run"` [INFO] [stdout] f9ed87fdab3ebf08ae355b8472766f115ad3fa573f92b053c5e83d86a7555244 [INFO] running `"docker" "start" "-a" "f9ed87fdab3ebf08ae355b8472766f115ad3fa573f92b053c5e83d86a7555244"` [INFO] [stderr] Compiling cuivre v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/shaders.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/graphics/mod.rs:56:32 [INFO] [stderr] | [INFO] [stderr] 56 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `"docker" "inspect" "f9ed87fdab3ebf08ae355b8472766f115ad3fa573f92b053c5e83d86a7555244"` [INFO] running `"docker" "rm" "-f" "f9ed87fdab3ebf08ae355b8472766f115ad3fa573f92b053c5e83d86a7555244"` [INFO] [stdout] f9ed87fdab3ebf08ae355b8472766f115ad3fa573f92b053c5e83d86a7555244 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "test" "--frozen"` [INFO] [stdout] d47af249b7865f884ec51fcdf4ed30d4820976caf3baa049f48dba6b6f9abf49 [INFO] running `"docker" "start" "-a" "d47af249b7865f884ec51fcdf4ed30d4820976caf3baa049f48dba6b6f9abf49"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/cuivre-1bf59a286d81c2bf [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests cuivre [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/input.rs - input::InputManager::set_keybind (line 215) ... FAILED [INFO] [stdout] test src/input.rs - input::InputManager::clear_keybind (line 226) ... FAILED [INFO] [stdout] test src/input.rs - input::InputManager::button (line 240) ... FAILED [INFO] [stdout] test src/input.rs - input::InputManager::key (line 175) ... FAILED [INFO] [stdout] test src/input.rs - input::InputManager::keybind (line 199) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/input.rs - input::InputManager::set_keybind (line 215) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keycode` [INFO] [stdout] --> src/input.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 3 | input_manager.set_keybind("Space", Keycode::Space); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keycode` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_manager` in this scope [INFO] [stdout] --> src/input.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 3 | input_manager.set_keybind("Space", Keycode::Space); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/input.rs - input::InputManager::clear_keybind (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `input_manager` in this scope [INFO] [stdout] --> src/input.rs:227:1 [INFO] [stdout] | [INFO] [stdout] 3 | input_manager.clear_keybind("Space"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/input.rs - input::InputManager::button (line 240) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MouseButton` [INFO] [stdout] --> src/input.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.button(MouseButton::Right)?.released() { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MouseButton` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_manager` in this scope [INFO] [stdout] --> src/input.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.button(MouseButton::Right)?.released() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/input.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.button(MouseButton::Right)?.released() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/input.rs - input::InputManager::key (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Keycode` [INFO] [stdout] --> src/input.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.key(Keycode::Space)?.pressed() { [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Keycode` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_manager` in this scope [INFO] [stdout] --> src/input.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.key(Keycode::Space)?.pressed() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/input.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.key(Keycode::Space)?.pressed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/input.rs - input::InputManager::keybind (line 199) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `input_manager` in this scope [INFO] [stdout] --> src/input.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.keybind("Space")?.pressed() { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/input.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 3 | if input_manager.keybind("Space")?.pressed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/input.rs - input::InputManager::button (line 240) [INFO] [stdout] src/input.rs - input::InputManager::clear_keybind (line 226) [INFO] [stdout] src/input.rs - input::InputManager::key (line 175) [INFO] [stdout] src/input.rs - input::InputManager::keybind (line 199) [INFO] [stdout] src/input.rs - input::InputManager::set_keybind (line 215) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "d47af249b7865f884ec51fcdf4ed30d4820976caf3baa049f48dba6b6f9abf49"` [INFO] running `"docker" "rm" "-f" "d47af249b7865f884ec51fcdf4ed30d4820976caf3baa049f48dba6b6f9abf49"` [INFO] [stdout] d47af249b7865f884ec51fcdf4ed30d4820976caf3baa049f48dba6b6f9abf49