[INFO] fetching crate vg 0.0.0-obsolete... [INFO] testing vg-0.0.0-obsolete against 1.44.0 for beta-1.45-1 [INFO] extracting crate vg 0.0.0-obsolete into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate vg 0.0.0-obsolete on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-9/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3025a55964eaf2e4326681b83dbaea39c55a2bded137f788ac4c8a593d332ce2 [INFO] running `"docker" "start" "-a" "3025a55964eaf2e4326681b83dbaea39c55a2bded137f788ac4c8a593d332ce2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast 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 5.51s [INFO] running `"docker" "inspect" "3025a55964eaf2e4326681b83dbaea39c55a2bded137f788ac4c8a593d332ce2"` [INFO] running `"docker" "rm" "-f" "3025a55964eaf2e4326681b83dbaea39c55a2bded137f788ac4c8a593d332ce2"` [INFO] [stdout] 3025a55964eaf2e4326681b83dbaea39c55a2bded137f788ac4c8a593d332ce2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 678afb0d2b9f5074b97c8a2d9bd0c6c969f80d1b43e0b6960763738c7b957d39 [INFO] running `"docker" "start" "-a" "678afb0d2b9f5074b97c8a2d9bd0c6c969f80d1b43e0b6960763738c7b957d39"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling vg v0.0.0-obsolete (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `"docker" "inspect" "678afb0d2b9f5074b97c8a2d9bd0c6c969f80d1b43e0b6960763738c7b957d39"` [INFO] running `"docker" "rm" "-f" "678afb0d2b9f5074b97c8a2d9bd0c6c969f80d1b43e0b6960763738c7b957d39"` [INFO] [stdout] 678afb0d2b9f5074b97c8a2d9bd0c6c969f80d1b43e0b6960763738c7b957d39 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cae789a3ade684f0278b75066747f55a0f3df270386dfa0799c5a95eba8aed42 [INFO] running `"docker" "start" "-a" "cae789a3ade684f0278b75066747f55a0f3df270386dfa0799c5a95eba8aed42"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/vg-a96cda63fd6172d6 [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 vg [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/assets.rs - assets (line 6) ... FAILED [INFO] [stdout] test src/assets.rs - assets (line 15) ... FAILED [INFO] [stdout] test src/assets.rs - assets::Assets (line 133) ... 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: possible candidate is found in another module, you can import it into scope [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 (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: possible candidate is found in another module, you can import it into scope [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] ---- 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: possible candidate is found in another module, you can import it into scope [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] [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 `"docker" "inspect" "cae789a3ade684f0278b75066747f55a0f3df270386dfa0799c5a95eba8aed42"` [INFO] running `"docker" "rm" "-f" "cae789a3ade684f0278b75066747f55a0f3df270386dfa0799c5a95eba8aed42"` [INFO] [stdout] cae789a3ade684f0278b75066747f55a0f3df270386dfa0799c5a95eba8aed42