[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6ae04d5e91de3d1dfe0507e6327429ff48b8750 [INFO] testing gallowstree/subrenamer-rs against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgallowstree%2Fsubrenamer-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gallowstree/subrenamer-rs on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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" "+beta-2020-07-24" "fetch" "--locked" "--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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef3e8d7df1d94ee1d157af9dcc555e407ffc5f2d12dfd1d085570825b8ecea4c [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" "ef3e8d7df1d94ee1d157af9dcc555e407ffc5f2d12dfd1d085570825b8ecea4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3e8d7df1d94ee1d157af9dcc555e407ffc5f2d12dfd1d085570825b8ecea4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3e8d7df1d94ee1d157af9dcc555e407ffc5f2d12dfd1d085570825b8ecea4c", kill_on_drop: false }` [INFO] [stdout] ef3e8d7df1d94ee1d157af9dcc555e407ffc5f2d12dfd1d085570825b8ecea4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afba9684294d11f41b9ffe0c2cde7ce269a9d06aeef4a192b5b9e47ab283f13d [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" "afba9684294d11f41b9ffe0c2cde7ce269a9d06aeef4a192b5b9e47ab283f13d", kill_on_drop: false }` [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/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(std::fs::DirEntry) -> _` [INFO] [stdout] ... [INFO] [stdout] 43 | fn to_episode(entry: &DirEntry) -> Option { [INFO] [stdout] | -------------------------------------------------- found signature of `for<'r> fn(&'r std::fs::DirEntry) -> _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&std::fs::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 `&std::fs::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 `std::fs::DirEntry: std::cmp::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 `std::cmp::Eq` is not implemented for `std::fs::DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::cmp::Eq` for `&'a std::fs::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 `&std::fs::DirEntry` with `&_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `&std::fs::DirEntry == &_` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<&_>` is not implemented for `&std::fs::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 `std::fs::DirEntry` with `_` [INFO] [stdout] --> src/main.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | entry: &'a DirEntry //Use str [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no implementation for `std::fs::DirEntry < _` and `std::fs::DirEntry > _` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialOrd<_>` is not implemented for `std::fs::DirEntry` [INFO] [stdout] = note: required because of the requirements on the impl of `std::cmp::PartialOrd<&_>` for `&std::fs::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 `std::fs::DirEntry: std::cmp::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 `std::cmp::Ord` is not implemented for `std::fs::DirEntry` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::cmp::Ord` for `&std::fs::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] running `Command { std: "docker" "inspect" "afba9684294d11f41b9ffe0c2cde7ce269a9d06aeef4a192b5b9e47ab283f13d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afba9684294d11f41b9ffe0c2cde7ce269a9d06aeef4a192b5b9e47ab283f13d", kill_on_drop: false }` [INFO] [stdout] afba9684294d11f41b9ffe0c2cde7ce269a9d06aeef4a192b5b9e47ab283f13d