[INFO] cloning repository https://github.com/lperlaki/open_dam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lperlaki/open_dam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flperlaki%2Fopen_dam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flperlaki%2Fopen_dam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 171a5f0f5bf2b4c73d36ddb58cee00cd610ed2eb [INFO] testing lperlaki/open_dam against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flperlaki%2Fopen_dam" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lperlaki/open_dam on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lperlaki/open_dam [INFO] finished tweaking git repo https://github.com/lperlaki/open_dam [INFO] tweaked toml for git repo https://github.com/lperlaki/open_dam written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/lperlaki/open_dam already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ac562022f6aea45db1c108900c39902183ecc6bc5d756fa5d02a5325778e196 [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" "5ac562022f6aea45db1c108900c39902183ecc6bc5d756fa5d02a5325778e196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ac562022f6aea45db1c108900c39902183ecc6bc5d756fa5d02a5325778e196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ac562022f6aea45db1c108900c39902183ecc6bc5d756fa5d02a5325778e196", kill_on_drop: false }` [INFO] [stdout] 5ac562022f6aea45db1c108900c39902183ecc6bc5d756fa5d02a5325778e196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 325b8755c5eb11484c51d051bb17477c54e7a3cb4228c00d34db220f11bf681e [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" "325b8755c5eb11484c51d051bb17477c54e7a3cb4228c00d34db220f11bf681e", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling cc v1.0.30 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling rexif v0.3.6 [INFO] [stderr] Compiling checksum v0.2.1 [INFO] [stderr] Compiling open v1.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling sys-info v0.5.8 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling notify v4.0.13 [INFO] [stderr] Compiling rusqlite v0.20.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling structopt v0.3.3 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling dam v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/error.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | fn from(_e: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 29 | / fn exif(&self) -> Result { [INFO] [stdout] 30 | | rexif::parse_file(self.to_str()?).map_err(Error::from) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/lib.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 139 | / fn sort(&self, entry: &mut Entry) -> Result<()> { [INFO] [stdout] 140 | | let mut path = PathBuf::from(&self.path); [INFO] [stdout] 141 | | path.push(&entry.created.format("%G/%b_%d").to_string()); [INFO] [stdout] 142 | | path.push(&entry.name); [INFO] [stdout] 143 | | entry.rename(&path)?; [INFO] [stdout] 144 | | clear_dir(entry.path.parent()?) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), error::Error>` [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), error::Error>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/entry.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 28 | / pub fn from_path(path: &PathBuf) -> Result { [INFO] [stdout] 29 | | Ok(Self { [INFO] [stdout] 30 | | id: path.checksum()?, [INFO] [stdout] 31 | | name: path.file_name()?.to_os_string().into_string()?, [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 34 | | }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a method that returns `Result` [INFO] [stdout] --> src/entry.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 74 | / pub fn rename(&mut self, dest: &Path) -> Result<()> { [INFO] [stdout] 75 | | create_path(dest.parent()?)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `std::result::Result<(), error::Error>` [INFO] [stdout] 76 | | fs::rename(&self.path, dest)?; [INFO] [stdout] 77 | | self.path = dest.to_path_buf(); [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `std::result::Result<(), error::Error>` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dam` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "325b8755c5eb11484c51d051bb17477c54e7a3cb4228c00d34db220f11bf681e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325b8755c5eb11484c51d051bb17477c54e7a3cb4228c00d34db220f11bf681e", kill_on_drop: false }` [INFO] [stdout] 325b8755c5eb11484c51d051bb17477c54e7a3cb4228c00d34db220f11bf681e