[INFO] updating cached repository https://github.com/mheistermann/lightfield_render [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84f0e915088b74e8058d3bc28fce312a220dd181 [INFO] testing mheistermann/lightfield_render against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmheistermann%2Flightfield_render" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mheistermann/lightfield_render on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mheistermann/lightfield_render [INFO] finished tweaking git repo https://github.com/mheistermann/lightfield_render [INFO] tweaked toml for git repo https://github.com/mheistermann/lightfield_render written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mheistermann/lightfield_render already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/mheistermann/glium` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c9dc13da57c10893d6736b34337b89d4f3288afdb0198bcfad7b75f2a111c40 [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" "5c9dc13da57c10893d6736b34337b89d4f3288afdb0198bcfad7b75f2a111c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c9dc13da57c10893d6736b34337b89d4f3288afdb0198bcfad7b75f2a111c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c9dc13da57c10893d6736b34337b89d4f3288afdb0198bcfad7b75f2a111c40", kill_on_drop: false }` [INFO] [stdout] 5c9dc13da57c10893d6736b34337b89d4f3288afdb0198bcfad7b75f2a111c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006a37e118e6cb05186ce34b3821009f1d32dcd8d9e43ce52f4af8df5035bbbc [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" "006a37e118e6cb05186ce34b3821009f1d32dcd8d9e43ce52f4af8df5035bbbc", kill_on_drop: false }` [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling podio v0.1.7 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling bzip2-sys v0.1.9+1.0.8 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling inotify v0.2.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling msdos_time v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling zip v0.1.19 [INFO] [stderr] Compiling zip v0.5.6 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling glutin v0.5.2 [INFO] [stderr] Compiling glium v0.14.0 (https://github.com/mheistermann/glium#40bb82ad) [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling cgmath v0.9.1 [INFO] [stderr] Compiling notify v2.6.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling lightfield_loader v0.3.0 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling lightfield_render v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut f = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | let vertex_shader: String = try!(slurp(self.vertex_shader_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | let fragment_shader: String = try!(slurp(self.fragment_shader_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | geom_content = try!(slurp(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/reloading_program.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | return Ok(try!(prog)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use cgmath::{Vector2, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Basis3` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cgmath::Basis3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix` [INFO] [stdout] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use cgmath::{Matrix, Matrix3, Matrix4, SquareMatrix}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use cgmath::{Rotation, Rotation3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LightfieldView` [INFO] [stdout] --> src/lightfield_texture.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | use lightfield_loader::{Lightfield, LightfieldView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/lightfield_texture.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | use image::{DynamicImage, GenericImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/reloading_program.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProgramCreationInput` [INFO] [stdout] --> src/reloading_program.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::program::{ProgramCreationError, ProgramCreationInput}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notify` [INFO] [stdout] --> src/reloading_program.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use notify; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/main.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let offset = Vector2::from((cursor_startpos - cursor_pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for reference `&image::dynimage::DynamicImage` in the current scope [INFO] [stdout] --> src/lightfield_texture.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | let width = img0.width(); [INFO] [stdout] | ^^^^^ method not found in `&image::dynimage::DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::image::GenericImage;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for reference `&image::dynimage::DynamicImage` in the current scope [INFO] [stdout] --> src/lightfield_texture.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | let height = img0.height(); [INFO] [stdout] | ^^^^^^ method not found in `&image::dynimage::DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::image::GenericImage;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for reference `&image::dynimage::DynamicImage` in the current scope [INFO] [stdout] --> src/lightfield_texture.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | assert!(image.width() == width); [INFO] [stdout] | ^^^^^ method not found in `&image::dynimage::DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::image::GenericImage;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `height` found for reference `&image::dynimage::DynamicImage` in the current scope [INFO] [stdout] --> src/lightfield_texture.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(image.height() == height); [INFO] [stdout] | ^^^^^^ method not found in `&image::dynimage::DynamicImage` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use image::image::GenericImage;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lightfield_texture.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 45 | match image { [INFO] [stdout] | ----- this expression has type `&image::dynimage::DynamicImage` [INFO] [stdout] 46 | &DynamicImage::ImageRgb8(_) => {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `image::dynimage::DynamicImage`, found enum `image::DynamicImage` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `image` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use cgmath::{Rotation, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lightfield_render`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "006a37e118e6cb05186ce34b3821009f1d32dcd8d9e43ce52f4af8df5035bbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006a37e118e6cb05186ce34b3821009f1d32dcd8d9e43ce52f4af8df5035bbbc", kill_on_drop: false }` [INFO] [stdout] 006a37e118e6cb05186ce34b3821009f1d32dcd8d9e43ce52f4af8df5035bbbc