[INFO] updating cached repository https://github.com/Haggus/monarch [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9269a63301350539b63b8c0d20d8877f074e9fe8 [INFO] testing Haggus/monarch against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaggus%2Fmonarch" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Haggus/monarch on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/Haggus/monarch [INFO] finished tweaking git repo https://github.com/Haggus/monarch [INFO] tweaked toml for git repo https://github.com/Haggus/monarch written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Haggus/monarch already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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" "+beta-2020-06-03" "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] a030021540d254bc2bddbc0aa773e756956a7959274804d74bf025dfbfadda7e [INFO] running `"docker" "start" "-a" "a030021540d254bc2bddbc0aa773e756956a7959274804d74bf025dfbfadda7e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling monarch v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `time::now` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use time::now; [INFO] [stderr] | ^^^^^^^^^ no `now` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:18:23 [INFO] [stderr] | [INFO] [stderr] 18 | let start = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `now` in crate `time` [INFO] [stderr] --> src/main.rs:37:21 [INFO] [stderr] | [INFO] [stderr] 37 | let end = time::now(); [INFO] [stderr] | ^^^ not found in `time` [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/palette.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use image::{GenericImage, ImageBuffer, Rgba}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/palette.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | 0...2 => 2, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::GenericImage` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use image::GenericImage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dimensions` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | let (width, height) = img.dimensions(); [INFO] [stderr] | ^^^^^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/image.rs:546:8 [INFO] [stderr] | [INFO] [stderr] 546 | fn dimensions(&self) -> (u32, u32); [INFO] [stderr] | ---------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 6 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `pixels` found for enum `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | for (i, (_, _, pix)) in img.pixels().enumerate() { [INFO] [stderr] | ^^^^^^ method not found in `image::DynamicImage` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.23.4/./src/image.rs:588:8 [INFO] [stderr] | [INFO] [stderr] 588 | fn pixels(&self) -> Pixels { [INFO] [stderr] | ------ [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 6 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/palette.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn generate(&mut self) -> Result<(), io::Error> { [INFO] [stderr] | --------------------- expected `std::result::Result<(), std::io::Error>` because of return type [INFO] [stderr] ... [INFO] [stderr] 34 | new_img.save("test_palette.png") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::io::Error`, found enum `image::ImageError` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::io::Error>` [INFO] [stderr] found enum `std::result::Result<_, image::ImageError>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `monarch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a030021540d254bc2bddbc0aa773e756956a7959274804d74bf025dfbfadda7e"` [INFO] running `"docker" "rm" "-f" "a030021540d254bc2bddbc0aa773e756956a7959274804d74bf025dfbfadda7e"` [INFO] [stdout] a030021540d254bc2bddbc0aa773e756956a7959274804d74bf025dfbfadda7e