[INFO] updating cached repository https://github.com/gallowstree/subrenamer-rs [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] checking gallowstree/subrenamer-rs against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gallowstree/subrenamer-rs on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/gallowstree/subrenamer-rs [INFO] finished tweaking git repo https://github.com/gallowstree/subrenamer-rs [INFO] tweaked toml for git repo https://github.com/gallowstree/subrenamer-rs written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/gallowstree/subrenamer-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b3bf7fd32fc50af650d3391fe60b9547489e4462770f71aafa416a18acbbb006 [INFO] running `"docker" "start" "-a" "b3bf7fd32fc50af650d3391fe60b9547489e4462770f71aafa416a18acbbb006"` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking subrenamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:18:51 [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0631]: type mismatch in function arguments [INFO] [stderr] --> src/main.rs:18:51 [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0369, E0631. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0369, E0631. [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" "b3bf7fd32fc50af650d3391fe60b9547489e4462770f71aafa416a18acbbb006"` [INFO] running `"docker" "rm" "-f" "b3bf7fd32fc50af650d3391fe60b9547489e4462770f71aafa416a18acbbb006"` [INFO] [stdout] b3bf7fd32fc50af650d3391fe60b9547489e4462770f71aafa416a18acbbb006