[INFO] crate vg 0.0.0-obsolete is already in cache [INFO] testing vg-0.0.0-obsolete against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate vg 0.0.0-obsolete into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate vg 0.0.0-obsolete on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate vg 0.0.0-obsolete [INFO] finished tweaking crates.io crate vg 0.0.0-obsolete [INFO] tweaked toml for crates.io crate vg 0.0.0-obsolete written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f165658fc167e56437dd0140bc9ed5cbb69089f649b1aa9f8302cb8cb183775 [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" "6f165658fc167e56437dd0140bc9ed5cbb69089f649b1aa9f8302cb8cb183775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f165658fc167e56437dd0140bc9ed5cbb69089f649b1aa9f8302cb8cb183775", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f165658fc167e56437dd0140bc9ed5cbb69089f649b1aa9f8302cb8cb183775", kill_on_drop: false }` [INFO] [stdout] 6f165658fc167e56437dd0140bc9ed5cbb69089f649b1aa9f8302cb8cb183775 [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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", 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] 98266d348a5371d71af8788be4bc7ef31908d2d2f96b346255b14f281c279615 [INFO] running `Command { std: "docker" "start" "-a" "98266d348a5371d71af8788be4bc7ef31908d2d2f96b346255b14f281c279615", kill_on_drop: false }` [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling vg v0.0.0-obsolete (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "98266d348a5371d71af8788be4bc7ef31908d2d2f96b346255b14f281c279615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98266d348a5371d71af8788be4bc7ef31908d2d2f96b346255b14f281c279615", kill_on_drop: false }` [INFO] [stdout] 98266d348a5371d71af8788be4bc7ef31908d2d2f96b346255b14f281c279615 [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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", 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] 41688846e112d3c0b187fe9a04645404f43630ca43b1f081cfef59449a13f240 [INFO] running `Command { std: "docker" "start" "-a" "41688846e112d3c0b187fe9a04645404f43630ca43b1f081cfef59449a13f240", kill_on_drop: false }` [INFO] [stderr] Compiling vg v0.0.0-obsolete (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "41688846e112d3c0b187fe9a04645404f43630ca43b1f081cfef59449a13f240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41688846e112d3c0b187fe9a04645404f43630ca43b1f081cfef59449a13f240", kill_on_drop: false }` [INFO] [stdout] 41688846e112d3c0b187fe9a04645404f43630ca43b1f081cfef59449a13f240 [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" "MAP_USER_ID=0" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 352863bbbce04a5d6599717f6a6a15bc4bf8448e2b13f6dcd6799833aebed12f [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" "352863bbbce04a5d6599717f6a6a15bc4bf8448e2b13f6dcd6799833aebed12f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/vg-adc3f07dd0fa2da0 [INFO] [stdout] [INFO] [stderr] Doc-tests vg [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/assets.rs - assets (line 6) ... FAILED [INFO] [stdout] test src/assets.rs - assets::Assets (line 133) ... FAILED [INFO] [stdout] test src/assets.rs - assets (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/assets.rs - assets (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `vg::assets::generate_asset_packs` [INFO] [stdout] --> src/assets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | use vg::assets::generate_asset_packs; [INFO] [stdout] | ^^^^^^^^^^^^-------------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `generate_asset_pack` [INFO] [stdout] | no `generate_asset_packs` in `assets` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_asset_pack` in this scope [INFO] [stdout] --> src/assets.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | generate_asset_pack("assets/", "assets.vgpack"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use vg::assets::generate_asset_pack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assets.rs - assets::Assets (line 133) stdout ---- [INFO] [stdout] error: cannot find macro `asset_pack` in this scope [INFO] [stdout] --> src/assets.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 4 | const TEXTURES: Assets = asset_pack!("textures_new.vgpack"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/assets.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 4 | const TEXTURES: Assets = asset_pack!("textures_new.vgpack"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vg::assets::Assets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_png` in this scope [INFO] [stdout] --> src/assets.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 5 | let image = decode_png(TEXTURES.assets("x512")?.binary()?)?; [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/assets.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const TEXTURES: Assets = asset_pack!("textures_new.vgpack"); [INFO] [stdout] 5 | | let image = decode_png(TEXTURES.assets("x512")?.binary()?)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | // do whatever with your image :) [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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[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/assets.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const TEXTURES: Assets = asset_pack!("textures_new.vgpack"); [INFO] [stdout] 5 | | let image = decode_png(TEXTURES.assets("x512")?.binary()?)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | // do whatever with your image :) [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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[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/assets.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const TEXTURES: Assets = asset_pack!("textures_new.vgpack"); [INFO] [stdout] 5 | | let image = decode_png(TEXTURES.assets("x512")?.binary()?)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | // do whatever with your image :) [INFO] [stdout] 7 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assets.rs - assets (line 15) stdout ---- [INFO] [stdout] error: cannot find macro `asset_pack` in this scope [INFO] [stdout] --> src/assets.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 4 | const ASSETS: Assets = asset_pack!("assets.vgpack"); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ASSETS` [INFO] [stdout] --> src/assets.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 8 | let config_str = ASSETS::str("config.toml")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ASSETS` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ASSETS` [INFO] [stdout] --> src/assets.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 9 | let splash = ASSETS::assets("textures")?.bin("splash.png")?; [INFO] [stdout] | ^^^^^^ use of undeclared type or module `ASSETS` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Assets` in this scope [INFO] [stdout] --> src/assets.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 4 | const ASSETS: Assets = asset_pack!("assets.vgpack"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use vg::assets::Assets; [INFO] [stdout] | [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/assets.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const ASSETS: Assets = asset_pack!("assets.vgpack"); [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | // ... [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | let config_str = ASSETS::str("config.toml")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | let splash = ASSETS::assets("textures")?.bin("splash.png")?; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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[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/assets.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const ASSETS: Assets = asset_pack!("assets.vgpack"); [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | // ... [INFO] [stdout] ... | [INFO] [stdout] 9 | | let splash = ASSETS::assets("textures")?.bin("splash.png")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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[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/assets.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | const ASSETS: Assets = asset_pack!("assets.vgpack"); [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | // ... [INFO] [stdout] ... | [INFO] [stdout] 9 | | let splash = ASSETS::assets("textures")?.bin("splash.png")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [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 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [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/assets.rs - assets (line 15) [INFO] [stdout] src/assets.rs - assets (line 6) [INFO] [stdout] src/assets.rs - assets::Assets (line 133) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "352863bbbce04a5d6599717f6a6a15bc4bf8448e2b13f6dcd6799833aebed12f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352863bbbce04a5d6599717f6a6a15bc4bf8448e2b13f6dcd6799833aebed12f", kill_on_drop: false }` [INFO] [stdout] 352863bbbce04a5d6599717f6a6a15bc4bf8448e2b13f6dcd6799833aebed12f