[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flperlaki%2Fopen_dam" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lperlaki/open_dam on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-7/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2dafb3fe52cbe1049e5bd3f440981152cca7e4e76ca046ab8511b9ba8b3c3ce [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" "f2dafb3fe52cbe1049e5bd3f440981152cca7e4e76ca046ab8511b9ba8b3c3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2dafb3fe52cbe1049e5bd3f440981152cca7e4e76ca046ab8511b9ba8b3c3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2dafb3fe52cbe1049e5bd3f440981152cca7e4e76ca046ab8511b9ba8b3c3ce", kill_on_drop: false }` [INFO] [stdout] f2dafb3fe52cbe1049e5bd3f440981152cca7e4e76ca046ab8511b9ba8b3c3ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=forbid" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20dfbd9791e1ffe4195ea2f9781ae8ffa193594438412d491e6f5f59c0fe7186 [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" "20dfbd9791e1ffe4195ea2f9781ae8ffa193594438412d491e6f5f59c0fe7186", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling checksum v0.2.1 [INFO] [stderr] Compiling rexif v0.3.6 [INFO] [stderr] Compiling open v1.3.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.16.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling sys-info v0.5.8 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling inotify v0.6.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling notify v4.0.13 [INFO] [stderr] Compiling rusqlite v0.20.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling num-derive v0.2.4 [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[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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dam` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "20dfbd9791e1ffe4195ea2f9781ae8ffa193594438412d491e6f5f59c0fe7186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20dfbd9791e1ffe4195ea2f9781ae8ffa193594438412d491e6f5f59c0fe7186", kill_on_drop: false }` [INFO] [stdout] 20dfbd9791e1ffe4195ea2f9781ae8ffa193594438412d491e6f5f59c0fe7186