[INFO] cloning repository https://github.com/gallowstree/subrenamer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gallowstree/subrenamer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] checking gallowstree/subrenamer-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs" "/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/gallowstree/subrenamer-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/gallowstree/subrenamer-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eb82580d1c2639b66e152f300504a0acf05c6be0b1833f9830e69757dfc8687d [INFO] running `Command { std: "docker" "start" "-a" "eb82580d1c2639b66e152f300504a0acf05c6be0b1833f9830e69757dfc8687d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb82580d1c2639b66e152f300504a0acf05c6be0b1833f9830e69757dfc8687d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb82580d1c2639b66e152f300504a0acf05c6be0b1833f9830e69757dfc8687d", kill_on_drop: false }` [INFO] [stdout] eb82580d1c2639b66e152f300504a0acf05c6be0b1833f9830e69757dfc8687d [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b7fe73a88a0018e54933eca2b30e84065b15a022f2a5cf0a055ac8d0d3552d9 [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" "8b7fe73a88a0018e54933eca2b30e84065b15a022f2a5cf0a055ac8d0d3552d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking subrenamer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(to_episode)) [INFO] [stdout] | ^^^^^^^^^^ expected signature of `fn(DirEntry) -> _` [INFO] [stdout] ... [INFO] [stdout] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] | -------------------------------------------------- found signature of `for<'r> fn(&'r DirEntry) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/main.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | .filter_map(|result| result.ok().and_then(to_episode)) [INFO] [stdout] | ^^^^^^^^^^ expected signature of `fn(DirEntry) -> _` [INFO] [stdout] ... [INFO] [stdout] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] | -------------------------------------------------- found signature of `for<'r> fn(&'r DirEntry) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `&DirEntry` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Eq` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Eq` for `&'a DirEntry` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&DirEntry` with `&_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&DirEntry == &_` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&_>` is not implemented for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `DirEntry` with `_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `DirEntry < _` and `DirEntry > _` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd<_>` is not implemented for `DirEntry` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialOrd<&_>` for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Ord` for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::Ord::cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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, E0369, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [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] [stdout] error[E0277]: the trait bound `DirEntry: Eq` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Eq` for `&'a DirEntry` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&DirEntry` with `&_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&DirEntry == &_` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&_>` is not implemented for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `DirEntry` with `_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `DirEntry < _` and `DirEntry > _` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialOrd<_>` is not implemented for `DirEntry` [INFO] [stdout] = note: required because of the requirements on the impl of `PartialOrd<&_>` for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::PartialOrd::partial_cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `DirEntry: Ord` is not satisfied [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `Ord` is not implemented for `DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Ord` for `&DirEntry` [INFO] [stdout] = note: required by `std::cmp::Ord::cmp` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [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, E0369, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8b7fe73a88a0018e54933eca2b30e84065b15a022f2a5cf0a055ac8d0d3552d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b7fe73a88a0018e54933eca2b30e84065b15a022f2a5cf0a055ac8d0d3552d9", kill_on_drop: false }` [INFO] [stdout] 8b7fe73a88a0018e54933eca2b30e84065b15a022f2a5cf0a055ac8d0d3552d9