[INFO] fetching crate tool 0.2.1... [INFO] testing tool-0.2.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tool 0.2.1 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate tool 0.2.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tool 0.2.1 [INFO] finished tweaking crates.io crate tool 0.2.1 [INFO] tweaked toml for crates.io crate tool 0.2.1 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf873c6ecec1483b5bd2b4557f8608df178cf50c1d47120fc2abef3404ced04 [INFO] running `Command { std: "docker" "start" "-a" "bdf873c6ecec1483b5bd2b4557f8608df178cf50c1d47120fc2abef3404ced04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf873c6ecec1483b5bd2b4557f8608df178cf50c1d47120fc2abef3404ced04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf873c6ecec1483b5bd2b4557f8608df178cf50c1d47120fc2abef3404ced04", kill_on_drop: false }` [INFO] [stdout] bdf873c6ecec1483b5bd2b4557f8608df178cf50c1d47120fc2abef3404ced04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cec297be1f15b86a03c035ac7b2be5990c396af2366de7ee021d0576323679cc [INFO] running `Command { std: "docker" "start" "-a" "cec297be1f15b86a03c035ac7b2be5990c396af2366de7ee021d0576323679cc", kill_on_drop: false }` [INFO] [stderr] Compiling tool v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] 51 + where F: Fn(&dyn Fn(A)-> B, A) -> B [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] 59 + fun_holder = Cell::new(&tmp_fn as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] 61 + fun_holder.set(&fun as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "cec297be1f15b86a03c035ac7b2be5990c396af2366de7ee021d0576323679cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec297be1f15b86a03c035ac7b2be5990c396af2366de7ee021d0576323679cc", kill_on_drop: false }` [INFO] [stdout] cec297be1f15b86a03c035ac7b2be5990c396af2366de7ee021d0576323679cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a26876e2c3947cf310a7109a7d1c158634ed7ae287f662e77c716b34e5729cfa [INFO] running `Command { std: "docker" "start" "-a" "a26876e2c3947cf310a7109a7d1c158634ed7ae287f662e77c716b34e5729cfa", kill_on_drop: false }` [INFO] [stderr] Compiling tool v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] 51 + where F: Fn(&dyn Fn(A)-> B, A) -> B [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] 59 + fun_holder = Cell::new(&tmp_fn as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] 61 + fun_holder.set(&fun as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stdout] 51 + where F: Fn(&dyn Fn(A)-> B, A) -> B [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:59:44 [INFO] [stdout] | [INFO] [stdout] 59 | fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stdout] 59 + fun_holder = Cell::new(&tmp_fn as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/functor.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stdout] 61 + fun_holder.set(&fun as &dyn Fn(A) -> B); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "a26876e2c3947cf310a7109a7d1c158634ed7ae287f662e77c716b34e5729cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26876e2c3947cf310a7109a7d1c158634ed7ae287f662e77c716b34e5729cfa", kill_on_drop: false }` [INFO] [stdout] a26876e2c3947cf310a7109a7d1c158634ed7ae287f662e77c716b34e5729cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 13132757d55cee4c1450d6acd8d2d58d9b52c0b0a83484a21a3d0470aa1c4660 [INFO] running `Command { std: "docker" "start" "-a" "13132757d55cee4c1450d6acd8d2d58d9b52c0b0a83484a21a3d0470aa1c4660", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/functor.rs:51:18 [INFO] [stderr] | [INFO] [stderr] 51 | where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 51 - where F: Fn(&Fn(A)-> B, A) -> B [INFO] [stderr] 51 + where F: Fn(&dyn Fn(A)-> B, A) -> B [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/functor.rs:59:44 [INFO] [stderr] | [INFO] [stderr] 59 | fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - fun_holder = Cell::new(&tmp_fn as &Fn(A) -> B); [INFO] [stderr] 59 + fun_holder = Cell::new(&tmp_fn as &dyn Fn(A) -> B); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/functor.rs:61:33 [INFO] [stderr] | [INFO] [stderr] 61 | fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - fun_holder.set(&fun as &Fn(A) -> B); [INFO] [stderr] 61 + fun_holder.set(&fun as &dyn Fn(A) -> B); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `tool` (lib) generated 3 warnings [INFO] [stderr] warning: `tool` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tool-d9ce69220b363e09) [INFO] [stdout] [INFO] [stderr] Running tests/functor.rs (/opt/rustwide/target/debug/deps/functor-d9620fcd58e2a1b9) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_compose ... ok [INFO] [stdout] test test_fix ... ok [INFO] [stdout] test test_flip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/sequence.rs (/opt/rustwide/target/debug/deps/sequence-de63f5d4e37e53ec) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_double_ref ... ok [INFO] [stdout] test test_uncons ... ok [INFO] [stderr] Doc-tests tool [INFO] [stdout] test test_index ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/functor.rs - functor::fix (line 37) ... ok [INFO] [stdout] test src/empty.rs - empty::non_empty (line 27) ... ok [INFO] [stdout] test src/monad.rs - monad::ok (line 27) ... ok [INFO] [stdout] test src/monad.rs - monad::unwrap (line 38) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13132757d55cee4c1450d6acd8d2d58d9b52c0b0a83484a21a3d0470aa1c4660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13132757d55cee4c1450d6acd8d2d58d9b52c0b0a83484a21a3d0470aa1c4660", kill_on_drop: false }` [INFO] [stdout] 13132757d55cee4c1450d6acd8d2d58d9b52c0b0a83484a21a3d0470aa1c4660