[INFO] fetching crate seven 0.1.0...
[INFO] testing seven-0.1.0 against 1.69.0 for beta-1.70-1
[INFO] extracting crate seven 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate seven 0.1.0 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.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-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+1.69.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8dfaf3f8b2913dc0323fe1bd2b8240878c3099dd03ac04420e9a724c8a96ec06
[INFO] running `Command { std: "docker" "start" "-a" "8dfaf3f8b2913dc0323fe1bd2b8240878c3099dd03ac04420e9a724c8a96ec06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8dfaf3f8b2913dc0323fe1bd2b8240878c3099dd03ac04420e9a724c8a96ec06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8dfaf3f8b2913dc0323fe1bd2b8240878c3099dd03ac04420e9a724c8a96ec06", kill_on_drop: false }`
[INFO] [stdout] 8dfaf3f8b2913dc0323fe1bd2b8240878c3099dd03ac04420e9a724c8a96ec06
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c3a7ba243987b5ef640861ea23230c5db1ab284e9c5e1a70350c7ead416aae9
[INFO] running `Command { std: "docker" "start" "-a" "0c3a7ba243987b5ef640861ea23230c5db1ab284e9c5e1a70350c7ead416aae9", kill_on_drop: false }`
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.3.3
[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]    = 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]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[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 `abs_path` is never read
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SimpleFile {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     content: String,
[INFO] [stdout] 12 |     abs_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SimpleFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.75s
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0c3a7ba243987b5ef640861ea23230c5db1ab284e9c5e1a70350c7ead416aae9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c3a7ba243987b5ef640861ea23230c5db1ab284e9c5e1a70350c7ead416aae9", kill_on_drop: false }`
[INFO] [stdout] 0c3a7ba243987b5ef640861ea23230c5db1ab284e9c5e1a70350c7ead416aae9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aaae4f00f4c63a905d2c6f9ab23d2bc3ae302a553e21dc688a766a244f053a53
[INFO] running `Command { std: "docker" "start" "-a" "aaae4f00f4c63a905d2c6f9ab23d2bc3ae302a553e21dc688a766a244f053a53", kill_on_drop: false }`
[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]    = 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]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[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 `abs_path` is never read
[INFO] [stdout]   --> src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SimpleFile {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     content: String,
[INFO] [stdout] 12 |     abs_path: PathBuf,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SimpleFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = 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]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 | type MiddlewareFunction = Box<dyn FnMut(&mut Vec<SimpleFile>)>;
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `seven` due to 2 previous errors; 1 warning emitted
[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] 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]    | |__________- an argument of type `&str` is missing
[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] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 64 ~         let result = seven(vec![
[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] 68 +             }),
[INFO] [stdout] 69 +             Box::new(|files: &mut Vec<SimpleFile>| {
[INFO] [stdout] 70 +                 let file: &mut SimpleFile = &mut files[0];
[INFO] [stdout] 71 +                 file.content = "override".to_string();
[INFO] [stdout] 72 +             }),
[INFO] [stdout] 73 ~         ], /* &str */);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "aaae4f00f4c63a905d2c6f9ab23d2bc3ae302a553e21dc688a766a244f053a53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aaae4f00f4c63a905d2c6f9ab23d2bc3ae302a553e21dc688a766a244f053a53", kill_on_drop: false }`
[INFO] [stdout] aaae4f00f4c63a905d2c6f9ab23d2bc3ae302a553e21dc688a766a244f053a53
