[INFO] crate leafrender 0.1.0 is already in cache [INFO] extracting crate leafrender 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/leafrender/0.1.0 [INFO] extracting crate leafrender 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/leafrender/0.1.0 [INFO] validating manifest of leafrender-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of leafrender-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing leafrender-0.1.0 [INFO] finished frobbing leafrender-0.1.0 [INFO] frobbed toml for leafrender-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/leafrender/0.1.0/Cargo.toml [INFO] started frobbing leafrender-0.1.0 [INFO] finished frobbing leafrender-0.1.0 [INFO] frobbed toml for leafrender-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/leafrender/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing leafrender-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/leafrender/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 5fab9a13070e4c1660305f985eb6c424dbe09d579bb38b95c3a868b439415351 [INFO] running `"docker" "start" "-a" "5fab9a13070e4c1660305f985eb6c424dbe09d579bb38b95c3a868b439415351"` [INFO] [stderr] Compiling gl v0.12.0 [INFO] [stderr] Compiling leafrender v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/font.rs:57:20 [INFO] [stderr] | [INFO] [stderr] 57 | draw: &mut Drawer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Drawer` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.84s [INFO] running `"docker" "inspect" "5fab9a13070e4c1660305f985eb6c424dbe09d579bb38b95c3a868b439415351"` [INFO] running `"docker" "rm" "-f" "5fab9a13070e4c1660305f985eb6c424dbe09d579bb38b95c3a868b439415351"` [INFO] [stdout] 5fab9a13070e4c1660305f985eb6c424dbe09d579bb38b95c3a868b439415351 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/leafrender/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] cb0b265ffeaf3d2d1e332f752c99104cbac313bf35b15d5087241bcaf4839a49 [INFO] running `"docker" "start" "-a" "cb0b265ffeaf3d2d1e332f752c99104cbac313bf35b15d5087241bcaf4839a49"` [INFO] [stderr] Compiling leafrender v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/render/font.rs:57:20 [INFO] [stderr] | [INFO] [stderr] 57 | draw: &mut Drawer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Drawer` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `"docker" "inspect" "cb0b265ffeaf3d2d1e332f752c99104cbac313bf35b15d5087241bcaf4839a49"` [INFO] running `"docker" "rm" "-f" "cb0b265ffeaf3d2d1e332f752c99104cbac313bf35b15d5087241bcaf4839a49"` [INFO] [stdout] cb0b265ffeaf3d2d1e332f752c99104cbac313bf35b15d5087241bcaf4839a49 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/leafrender/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 5961e5245f081936d8dc7515a9630ea76990140b386417c39354651f4be9b82e [INFO] running `"docker" "start" "-a" "5961e5245f081936d8dc7515a9630ea76990140b386417c39354651f4be9b82e"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/crater/target/debug/deps/leafrender-10359563aef00d23 [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 leafrender [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error[E0423]: expected value, found module `leafrender` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 4 | leafrender = "0.1.0" [INFO] [stdout] | ^^^^^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 65) stdout ---- [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `;` [INFO] [stdout] --> src/lib.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 13 | font.draw( [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 26 | &mut drawer [INFO] [stdout] | - help: `)` may belong here [INFO] [stdout] 27 | ; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected expression, found `)` [INFO] [stdout] --> src/lib.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] error: couldn't read src/Lato-Regular.ttf: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 6 | let mut font = FontCache::from_bytes(include_bytes!("Lato-Regular.ttf")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: unresolved import [INFO] [stdout] --> src/lib.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::render::font::FontCache; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `leafrender::render` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::pos` [INFO] [stdout] --> src/lib.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::pos::Position; [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `leafrender::pos` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `FontCache` [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 6 | let mut font = FontCache::from_bytes(include_bytes!("Lato-Regular.ttf")) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `FontCache` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Color` in this scope [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 15 | &Color { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use leafrender::render::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `drawer` in this scope [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 26 | &mut drawer [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 95) stdout ---- [INFO] [stdout] error: couldn't read src/img.jpg: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 5 | let image = image::load_from_memory(include_bytes!("img.jpg")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `drawer` in this scope [INFO] [stdout] --> src/lib.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 8 | let image = drawer.convert_image(&image); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `drawer` in this scope [INFO] [stdout] --> src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 14 | drawer.draw_texture(&image, &Position { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Position` in this scope [INFO] [stdout] --> src/lib.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 14 | drawer.draw_texture(&image, &Position { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use leafrender::pos::Position; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed', /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/winit-0.19.2/src/platform/linux/mod.rs:459:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5627faf5700b - backtrace::backtrace::libunwind::trace::hfe5db90796807973 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88 [INFO] [stdout] 1: 0x5627faf5700b - backtrace::backtrace::trace_unsynchronized::h34b865a835594335 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5627faf5700b - std::sys_common::backtrace::_print::h527254ae44989167 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:47 [INFO] [stdout] 3: 0x5627faf5700b - std::sys_common::backtrace::print::he85dd5ddddf46503 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:36 [INFO] [stdout] 4: 0x5627faf5700b - std::panicking::default_hook::{{closure}}::h847a2eb38b396f14 [INFO] [stdout] at src/libstd/panicking.rs:200 [INFO] [stdout] 5: 0x5627faf56ce7 - std::panicking::default_hook::h2ca0f9a30a0e206b [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 6: 0x5627faf57780 - std::panicking::rust_panic_with_hook::hffcefc09751839d1 [INFO] [stdout] at src/libstd/panicking.rs:477 [INFO] [stdout] 7: 0x5627fac194d8 - std::panicking::begin_panic::h0517f4f72c4590e7 [INFO] [stdout] at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/panicking.rs:411 [INFO] [stdout] 8: 0x5627fac14324 - winit::platform::platform::EventsLoop::new::hbe579fdfdab2e37c [INFO] [stdout] at /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/winit-0.19.2/src/platform/linux/mod.rs:459 [INFO] [stdout] 9: 0x5627faca3e20 - winit::EventsLoop::new::h2816eb134df341b7 [INFO] [stdout] at /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/winit-0.19.2/src/lib.rs:250 [INFO] [stdout] 10: 0x5627fab28416 - ::new::hd8ece57db34b7f0a [INFO] [stdout] at src/render/glutin/drawer.rs:319 [INFO] [stdout] 11: 0x5627fab24c0f - rust_out::main::h1cf9155cb6204ee7 [INFO] [stdout] 12: 0x5627fab22a63 - std::rt::lang_start::{{closure}}::h6ad5bf6913459b3e [INFO] [stdout] 13: 0x5627faf57183 - std::rt::lang_start_internal::{{closure}}::h447d8812e3ee306d [INFO] [stdout] at src/libstd/rt.rs:49 [INFO] [stdout] 14: 0x5627faf57183 - std::panicking::try::do_call::h4a61cb372364c745 [INFO] [stdout] at src/libstd/panicking.rs:296 [INFO] [stdout] 15: 0x5627faf5abda - __rust_maybe_catch_panic [INFO] [stdout] at src/libpanic_unwind/lib.rs:82 [INFO] [stdout] 16: 0x5627faf57c8d - std::panicking::try::hdf71f938885bca42 [INFO] [stdout] at src/libstd/panicking.rs:275 [INFO] [stdout] 17: 0x5627faf57c8d - std::panic::catch_unwind::h7e85dbf162b1611a [INFO] [stdout] at src/libstd/panic.rs:394 [INFO] [stdout] 18: 0x5627faf57c8d - std::rt::lang_start_internal::h1e06cc26b9fc25ea [INFO] [stdout] at src/libstd/rt.rs:48 [INFO] [stdout] 19: 0x5627fab22a45 - std::rt::lang_start::he873873cea7d311a [INFO] [stdout] 20: 0x5627fab24d4b - main [INFO] [stdout] 21: 0x7fcce09f12e1 - __libc_start_main [INFO] [stdout] 22: 0x5627fab2248a - _start [INFO] [stdout] 23: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 65) [INFO] [stdout] src/lib.rs - (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "5961e5245f081936d8dc7515a9630ea76990140b386417c39354651f4be9b82e"` [INFO] running `"docker" "rm" "-f" "5961e5245f081936d8dc7515a9630ea76990140b386417c39354651f4be9b82e"` [INFO] [stdout] 5961e5245f081936d8dc7515a9630ea76990140b386417c39354651f4be9b82e