[INFO] fetching crate seven 0.1.0...
[INFO] testing seven-0.1.0 against 1.59.0 for beta-1.60-3
[INFO] extracting crate seven 0.1.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate seven 0.1.0 on toolchain 1.59.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate seven 0.1.0
[INFO] finished tweaking crates.io crate seven 0.1.0
[INFO] tweaked toml for crates.io crate seven 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "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] b184cf88c3ac156020e9f27b701215a00aa47736c1dc14a0a900ba46c5b5e2d3
[INFO] running `Command { std: "docker" "start" "-a" "b184cf88c3ac156020e9f27b701215a00aa47736c1dc14a0a900ba46c5b5e2d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b184cf88c3ac156020e9f27b701215a00aa47736c1dc14a0a900ba46c5b5e2d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b184cf88c3ac156020e9f27b701215a00aa47736c1dc14a0a900ba46c5b5e2d3", kill_on_drop: false }`
[INFO] [stdout] b184cf88c3ac156020e9f27b701215a00aa47736c1dc14a0a900ba46c5b5e2d3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", 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] aa29aff670716c85eed8a1be972f89daff0617181bb743e52ba1c9c72deb7781
[INFO] running `Command { std: "docker" "start" "-a" "aa29aff670716c85eed8a1be972f89daff0617181bb743e52ba1c9c72deb7781", kill_on_drop: false }`
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling seven v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 - type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout] 16 + type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> src/lib.rs:18:51
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn seven(middleware: Vec<MiddlewareFunction>, destination: &str) -> Vec<SimpleFile> {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `abs_path`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     abs_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/lib.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             &files.push(file_struct);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let _ = &files.push(file_struct);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.27s
[INFO] running `Command { std: "docker" "inspect" "aa29aff670716c85eed8a1be972f89daff0617181bb743e52ba1c9c72deb7781", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa29aff670716c85eed8a1be972f89daff0617181bb743e52ba1c9c72deb7781", kill_on_drop: false }`
[INFO] [stdout] aa29aff670716c85eed8a1be972f89daff0617181bb743e52ba1c9c72deb7781
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 58f69ec610f88dd3a8828b3a74bc0c0c3db05cedfeb5929d058a3f4c70eb287c
[INFO] running `Command { std: "docker" "start" "-a" "58f69ec610f88dd3a8828b3a74bc0c0c3db05cedfeb5929d058a3f4c70eb287c", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling seven v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 - type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout] 16 + type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `destination`
[INFO] [stdout]   --> src/lib.rs:18:51
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn seven(middleware: Vec<MiddlewareFunction>, destination: &str) -> Vec<SimpleFile> {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destination`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `abs_path`
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     abs_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/lib.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             &files.push(file_struct);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 41 |             let _ = &files.push(file_struct);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 - type MiddlewareFunction = Box<FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout] 16 + type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/lib.rs:64:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |           let result = seven(vec![
[INFO] [stdout]    |  ______________________^^^^^_-
[INFO] [stdout]    | |                      |
[INFO] [stdout]    | |                      expected 2 arguments
[INFO] [stdout] 65 | |             Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout] 66 | |                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 67 | |                 file.content = "test hello".to_string();
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |             }),
[INFO] [stdout] 73 | |         ]);
[INFO] [stdout]    | |_________- supplied 1 argument
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn seven(middleware: Vec<MiddlewareFunction>, destination: &str) -> Vec<SimpleFile> {
[INFO] [stdout]    |        ^^^^^ -----------------------------------  -----------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 65 |               Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout]    |  ______________________-
[INFO] [stdout] 66 | |                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 67 | |                 file.content = "test hello".to_string();
[INFO] [stdout] 68 | |             }),
[INFO] [stdout]    | |_____________- the expected closure
[INFO] [stdout] 69 |               Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 70 | |                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 71 | |                 file.content = "override".to_string();
[INFO] [stdout] 72 | |             }),
[INFO] [stdout]    | |_____________^ expected closure, found a different closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected closure `[closure@src/lib.rs:65:22: 68:14]`
[INFO] [stdout]               found closure `[closure@src/lib.rs:69:22: 72:14]`
[INFO] [stdout]    = note: no two closures, even if identical, have the same type
[INFO] [stdout]    = help: consider boxing your closure and/or using it as a trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `seven` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "58f69ec610f88dd3a8828b3a74bc0c0c3db05cedfeb5929d058a3f4c70eb287c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58f69ec610f88dd3a8828b3a74bc0c0c3db05cedfeb5929d058a3f4c70eb287c", kill_on_drop: false }`
[INFO] [stdout] 58f69ec610f88dd3a8828b3a74bc0c0c3db05cedfeb5929d058a3f4c70eb287c
