[INFO] updating cached repository https://github.com/thepowersgang/inverse_fft [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 7bca22ec676356a9f16caf40e5415329a9b4b6e4 [INFO] testing thepowersgang/inverse_fft against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Finverse_fft" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thepowersgang/inverse_fft on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/thepowersgang/inverse_fft [INFO] finished tweaking git repo https://github.com/thepowersgang/inverse_fft [INFO] tweaked toml for git repo https://github.com/thepowersgang/inverse_fft written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/thepowersgang/inverse_fft already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] acd3370b59d7c1cc6e6e85f1875e6e3cd8c13dd57e517bfd9174ee85f367d311 [INFO] running `"docker" "start" "-a" "acd3370b59d7c1cc6e6e85f1875e6e3cd8c13dd57e517bfd9174ee85f367d311"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling env_logger v0.7.0 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling inv_fft v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | let legend = (-140.0 .. -25.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | let frequencies = (10.0 .. 5500.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:21:53 [INFO] [stderr] | [INFO] [stderr] 21 | let fs = image_to_frequencies(&image, frequencies, (0.0 .. max_time), legend ); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unused import: `::std::io::Write` [INFO] [stderr] --> src/main.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | use ::std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::GenericImage` [INFO] [stderr] --> src/main.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | use image::GenericImage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:166:14 [INFO] [stderr] | [INFO] [stderr] 166 | for i in (0 .. interpolation_count) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | for i in (start .. end) [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `for` head expression [INFO] [stderr] --> src/main.rs:183:14 [INFO] [stderr] | [INFO] [stderr] 183 | for j in (0 .. interpolation_count) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `unwrap` found for type `()` in the current scope [INFO] [stderr] --> src/main.rs:14:21 [INFO] [stderr] | [INFO] [stderr] 14 | env_logger::init().unwrap(); [INFO] [stderr] | ^^^^^^ method not found in `()` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::File: std::io::BufRead` is not satisfied [INFO] [stderr] --> src/main.rs:72:23 [INFO] [stderr] | [INFO] [stderr] 72 | let pi = image::load(::std::fs::File::open("input.png").unwrap(), image::ImageFormat::PNG).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::BufRead` is not implemented for `std::fs::File` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/image-0.22.3/./src/io/free_functions.rs:58:16 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn load(r: R, format: ImageFormat) -> ImageResult { [INFO] [stderr] | ------- required by this bound in `image::load` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `width` found for type `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:75:42 [INFO] [stderr] | [INFO] [stderr] 75 | data: ::std::iter::repeat(0).take( (pi.width()*pi.height()) as usize ).collect(), [INFO] [stderr] | ^^^^^ method not found in `image::DynamicImage` [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] 10 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `height` found for type `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:75:53 [INFO] [stderr] | [INFO] [stderr] 75 | data: ::std::iter::repeat(0).take( (pi.width()*pi.height()) as usize ).collect(), [INFO] [stderr] | ^^^^^^ method not found in `image::DynamicImage` [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] 10 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `width` found for type `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:76:13 [INFO] [stderr] | [INFO] [stderr] 76 | width: pi.width() as usize, [INFO] [stderr] | ^^^^^ method not found in `image::DynamicImage` [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] 10 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `pixels` found for type `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:79:15 [INFO] [stderr] | [INFO] [stderr] 79 | for px in pi.pixels() [INFO] [stderr] | ^^^^^^ method not found in `image::DynamicImage` [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] 10 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `width` found for type `image::DynamicImage` in the current scope [INFO] [stderr] --> src/main.rs:81:31 [INFO] [stderr] | [INFO] [stderr] 81 | ret.data[ (px.0 + px.1 * pi.width()) as usize ] = px.2.to_luma().data[0]; [INFO] [stderr] | ^^^^^ method not found in `image::DynamicImage` [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] 10 | use image::GenericImageView; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::Pixel` [INFO] [stderr] --> src/main.rs:68:6 [INFO] [stderr] | [INFO] [stderr] 68 | use image::Pixel; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `inv_fft`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "acd3370b59d7c1cc6e6e85f1875e6e3cd8c13dd57e517bfd9174ee85f367d311"` [INFO] running `"docker" "rm" "-f" "acd3370b59d7c1cc6e6e85f1875e6e3cd8c13dd57e517bfd9174ee85f367d311"` [INFO] [stdout] acd3370b59d7c1cc6e6e85f1875e6e3cd8c13dd57e517bfd9174ee85f367d311