[INFO] fetching crate findfile 0.2.8... [INFO] testing findfile-0.2.8 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate findfile 0.2.8 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate findfile 0.2.8 [INFO] finished tweaking crates.io crate findfile 0.2.8 [INFO] tweaked toml for crates.io crate findfile 0.2.8 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate findfile 0.2.8 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate findfile 0.2.8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.48.0 [INFO] [stderr] Downloaded terminal_size v0.2.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded is-terminal v0.4.7 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded anstyle-wincon v1.0.1 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded os_str_bytes v6.5.1 [INFO] [stderr] Downloaded clap_lex v0.5.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded anstream v0.3.2 [INFO] [stderr] Downloaded clap_derive v4.3.2 [INFO] [stderr] Downloaded clap v4.3.4 [INFO] [stderr] Downloaded anstyle v1.0.0 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded clap_builder v4.3.4 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] [stderr] Downloaded libc v0.2.146 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f29a65bbdf670089d73e2e624169b7bc104ce7c7ff34b5761cc3abc16e6821a7 [INFO] running `Command { std: "docker" "start" "-a" "f29a65bbdf670089d73e2e624169b7bc104ce7c7ff34b5761cc3abc16e6821a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f29a65bbdf670089d73e2e624169b7bc104ce7c7ff34b5761cc3abc16e6821a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29a65bbdf670089d73e2e624169b7bc104ce7c7ff34b5761cc3abc16e6821a7", kill_on_drop: false }` [INFO] [stdout] f29a65bbdf670089d73e2e624169b7bc104ce7c7ff34b5761cc3abc16e6821a7 [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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22603fdaf8762ccad7e132df7ef8bdf72439c02a76a90366b4be244799a6995f [INFO] running `Command { std: "docker" "start" "-a" "22603fdaf8762ccad7e132df7ef8bdf72439c02a76a90366b4be244799a6995f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling clap_builder v4.3.4 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling clap v4.3.4 [INFO] [stderr] Compiling findfile v0.2.8 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.13s [INFO] running `Command { std: "docker" "inspect" "22603fdaf8762ccad7e132df7ef8bdf72439c02a76a90366b4be244799a6995f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22603fdaf8762ccad7e132df7ef8bdf72439c02a76a90366b4be244799a6995f", kill_on_drop: false }` [INFO] [stdout] 22603fdaf8762ccad7e132df7ef8bdf72439c02a76a90366b4be244799a6995f [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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 680ec23d6a52da29e75a3c62b5b8f982c85b87fd3cd493857935f1583cc44ab3 [INFO] running `Command { std: "docker" "start" "-a" "680ec23d6a52da29e75a3c62b5b8f982c85b87fd3cd493857935f1583cc44ab3", kill_on_drop: false }` [INFO] [stderr] Compiling findfile v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/filesize.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | let _ = FileSize::new(x as f64, Suffix::KiloByte, None).unwrap().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/filesize.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(amount: f64, suffix: Suffix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 145 - let _ = FileSize::new(x as f64, Suffix::KiloByte, None).unwrap().to_string(); [INFO] [stdout] 145 + let _ = FileSize::new(x as f64, Suffix::KiloByte).unwrap().to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/filesize.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!("12kB", FileSize::new(12.0, Suffix::KiloByte, None).unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/filesize.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(amount: f64, suffix: Suffix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 147 - assert_eq!("12kB", FileSize::new(12.0, Suffix::KiloByte, None).unwrap().to_string()); [INFO] [stdout] 147 + assert_eq!("12kB", FileSize::new(12.0, Suffix::KiloByte).unwrap().to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/filesize.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!("1B", FileSize::new(1.0, Suffix::None, None).unwrap().to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ ---- unexpected argument #3 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/filesize.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(amount: f64, suffix: Suffix) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 148 - assert_eq!("1B", FileSize::new(1.0, Suffix::None, None).unwrap().to_string()); [INFO] [stdout] 148 + assert_eq!("1B", FileSize::new(1.0, Suffix::None).unwrap().to_string()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `findfile` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "680ec23d6a52da29e75a3c62b5b8f982c85b87fd3cd493857935f1583cc44ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680ec23d6a52da29e75a3c62b5b8f982c85b87fd3cd493857935f1583cc44ab3", kill_on_drop: false }` [INFO] [stdout] 680ec23d6a52da29e75a3c62b5b8f982c85b87fd3cd493857935f1583cc44ab3