[INFO] cloning repository gallowstree/subrenamer-rs [INFO] running `"git" "clone" "--bare" "git://github.com/gallowstree/subrenamer-rs.git" "work/cache/sources/gh/gallowstree/subrenamer-rs"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/gallowstree/subrenamer-rs'... [INFO] running `"git" "clone" "work/cache/sources/gh/gallowstree/subrenamer-rs" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/gallowstree/subrenamer-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/gallowstree/subrenamer-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/gallowstree/subrenamer-rs" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/gallowstree/subrenamer-rs"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/gallowstree/subrenamer-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] sha for GitHub repo gallowstree/subrenamer-rs: a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] validating manifest of gallowstree/subrenamer-rs on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gallowstree/subrenamer-rs on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing gallowstree/subrenamer-rs [INFO] finished frobbing gallowstree/subrenamer-rs [INFO] frobbed toml for gallowstree/subrenamer-rs written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/gallowstree/subrenamer-rs/Cargo.toml [INFO] started frobbing gallowstree/subrenamer-rs [INFO] finished frobbing gallowstree/subrenamer-rs [INFO] frobbed toml for gallowstree/subrenamer-rs written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/gallowstree/subrenamer-rs/Cargo.toml [INFO] crate gallowstree/subrenamer-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing gallowstree/subrenamer-rs against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-5/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/gallowstree/subrenamer-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 5fdcc13a479189018e3c96d1650e95f0ae1eff6419411b95a0b6c3f0239cf823 [INFO] running `"docker" "start" "-a" "5fdcc13a479189018e3c96d1650e95f0ae1eff6419411b95a0b6c3f0239cf823"` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling subrenamer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | .filter_map(|result| result.ok().and_then(to_episode)) [INFO] [stderr] | ^^^^^^^^ expected signature of `fn(std::fs::DirEntry) -> _` [INFO] [stderr] ... [INFO] [stderr] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stderr] | -------------------------------------------------- found signature of `for<'r> fn(&'r std::fs::DirEntry) -> _` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `&std::fs::DirEntry` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `&std::fs::DirEntry` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `!=` cannot be applied to type `&std::fs::DirEntry` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `&std::fs::DirEntry` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::DirEntry: std::cmp::Eq` is not satisfied [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `std::fs::DirEntry` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::Eq` for `&'a std::fs::DirEntry` [INFO] [stderr] = note: required by `std::cmp::AssertParamIsEq` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `&std::fs::DirEntry` with `&_` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&std::fs::DirEntry == &_` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<&_>` is not implemented for `&std::fs::DirEntry` [INFO] [stderr] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::fs::DirEntry` with `_` [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::fs::DirEntry < _` and `std::fs::DirEntry > _` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialOrd<_>` is not implemented for `std::fs::DirEntry` [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::PartialOrd<&_>` for `&std::fs::DirEntry` [INFO] [stderr] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `std::fs::DirEntry: std::cmp::Ord` is not satisfied [INFO] [stderr] --> src/main.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | entry: &'a DirEntry //Use str [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `std::fs::DirEntry` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `std::cmp::Ord` for `&std::fs::DirEntry` [INFO] [stderr] = note: required by `std::cmp::Ord::cmp` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0369. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `subrenamer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5fdcc13a479189018e3c96d1650e95f0ae1eff6419411b95a0b6c3f0239cf823"` [INFO] running `"docker" "rm" "-f" "5fdcc13a479189018e3c96d1650e95f0ae1eff6419411b95a0b6c3f0239cf823"` [INFO] [stdout] 5fdcc13a479189018e3c96d1650e95f0ae1eff6419411b95a0b6c3f0239cf823