[INFO] cloning repository https://github.com/ssaavedra/rust-lenses [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssaavedra/rust-lenses" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Frust-lenses", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Frust-lenses'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1df6d3317f276faef54b6c14548e8cc9464cd236 [INFO] checking ssaavedra/rust-lenses against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssaavedra%2Frust-lenses" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ssaavedra/rust-lenses on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ssaavedra/rust-lenses [INFO] finished tweaking git repo https://github.com/ssaavedra/rust-lenses [INFO] tweaked toml for git repo https://github.com/ssaavedra/rust-lenses written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ssaavedra/rust-lenses already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ecd0acbd3973e79f6a2bf42e246a015b3b14cd4ea4031808ca144acdec201e4 [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" "5ecd0acbd3973e79f6a2bf42e246a015b3b14cd4ea4031808ca144acdec201e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ecd0acbd3973e79f6a2bf42e246a015b3b14cd4ea4031808ca144acdec201e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ecd0acbd3973e79f6a2bf42e246a015b3b14cd4ea4031808ca144acdec201e4", kill_on_drop: false }` [INFO] [stdout] 5ecd0acbd3973e79f6a2bf42e246a015b3b14cd4ea4031808ca144acdec201e4 [INFO] running `Command { std: "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" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 764f56966ab5acb3d00692056528d9cc89f1ea4fe9bedc8774d9a1d6e5c62115 [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" "764f56966ab5acb3d00692056528d9cc89f1ea4fe9bedc8774d9a1d6e5c62115", kill_on_drop: false }` [INFO] [stderr] Checking lenses v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn lens<'a, S, A>(getter: &'a Fn(&S) -> A, setter: &'a Fn(&S, &A) -> S) -> LensImpl<'a, S, A> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S) -> A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn lens<'a, S, A>(getter: &'a Fn(&S) -> A, setter: &'a Fn(&S, &A) -> S) -> LensImpl<'a, S, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S, &A) -> S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn lens<'a, S, A>(getter: &'a Fn(&S) -> A, setter: &'a Fn(&S, &A) -> S) -> LensImpl<'a, S, A> { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S) -> A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:24:60 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn lens<'a, S, A>(getter: &'a Fn(&S) -> A, setter: &'a Fn(&S, &A) -> S) -> LensImpl<'a, S, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S, &A) -> S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compose<'a, S, A, B>(lhs: &'a Lens, rhs: &'a Lens) -> CompoundLensImpl<'a, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compose<'a, S, A, B>(lhs: &'a Lens, rhs: &'a Lens) -> CompoundLensImpl<'a, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | view: &'a Fn(&S) -> A, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S) -> A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compose<'a, S, A, B>(lhs: &'a Lens, rhs: &'a Lens) -> CompoundLensImpl<'a, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn compose<'a, S, A, B>(lhs: &'a Lens, rhs: &'a Lens) -> CompoundLensImpl<'a, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | view: &'a Fn(&S) -> A, [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&S) -> A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | set: &'a Fn (&S, &A) -> S, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&S, &A) -> S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | lhs: &'a Lens, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | rhs: &'a Lens, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ModLensImpl<'a, 's, S, A>(&'s Fn(&'a mut S) -> &'a mut A); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut S) -> &'a mut A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | lhs: &'s ModLens<'a, S, A>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, S, A>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | rhs: &'s ModLens<'a, A, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, A, B>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn mod_compose<'a, 's, S, A, B>(lhs: &'s ModLens<'a, S, A>, rhs: &'s ModLens<'a, A, B>) -> ModLensCompoundImpl<'a, 's, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, S, A>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:38:74 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn mod_compose<'a, 's, S, A, B>(lhs: &'s ModLens<'a, S, A>, rhs: &'s ModLens<'a, A, B>) -> ModLensCompoundImpl<'a, 's, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, A, B>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mod_lens<'a, 's, S, A>(getter: &'s Fn(&'a mut S) -> &'a mut A) -> ModLensImpl<'a, 's, S, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut S) -> &'a mut A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | set: &'a Fn (&S, &A) -> S, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn (&S, &A) -> S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | lhs: &'a Lens, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lens.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | rhs: &'a Lens, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Lens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ModLensImpl<'a, 's, S, A>(&'s Fn(&'a mut S) -> &'a mut A); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut S) -> &'a mut A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | lhs: &'s ModLens<'a, S, A>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, S, A>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | rhs: &'s ModLens<'a, A, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, A, B>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn mod_compose<'a, 's, S, A, B>(lhs: &'s ModLens<'a, S, A>, rhs: &'s ModLens<'a, A, B>) -> ModLensCompoundImpl<'a, 's, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, S, A>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:38:74 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn mod_compose<'a, 's, S, A, B>(lhs: &'s ModLens<'a, S, A>, rhs: &'s ModLens<'a, A, B>) -> ModLensCompoundImpl<'a, 's, S, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ModLens<'a, A, B>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mutable.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn mod_lens<'a, 's, S, A>(getter: &'s Fn(&'a mut S) -> &'a mut A) -> ModLensImpl<'a, 's, S, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&'a mut S) -> &'a mut A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "764f56966ab5acb3d00692056528d9cc89f1ea4fe9bedc8774d9a1d6e5c62115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "764f56966ab5acb3d00692056528d9cc89f1ea4fe9bedc8774d9a1d6e5c62115", kill_on_drop: false }` [INFO] [stdout] 764f56966ab5acb3d00692056528d9cc89f1ea4fe9bedc8774d9a1d6e5c62115