[INFO] cloning repository https://github.com/sophie-katz/test-ur-code-XD [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sophie-katz/test-ur-code-XD" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef58c2fd182423d98ffbc84efbc6a0c07b88aeda [INFO] checking sophie-katz/test-ur-code-XD against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sophie-katz/test-ur-code-XD on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] finished tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] tweaked toml for git repo https://github.com/sophie-katz/test-ur-code-XD written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sophie-katz/test-ur-code-XD 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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking sophie-katz/test-ur-code-XD against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sophie-katz/test-ur-code-XD on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] finished tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] tweaked toml for git repo https://github.com/sophie-katz/test-ur-code-XD written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sophie-katz/test-ur-code-XD 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking sophie-katz/test-ur-code-XD against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sophie-katz/test-ur-code-XD on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] finished tweaking git repo https://github.com/sophie-katz/test-ur-code-XD [INFO] tweaked toml for git repo https://github.com/sophie-katz/test-ur-code-XD written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sophie-katz/test-ur-code-XD 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded panic-message v0.3.0 [INFO] [stderr] Downloaded gag v1.0.0 [INFO] [stderr] Downloaded filedescriptor v0.8.2 [INFO] [stderr] Downloaded trybuild v1.0.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46acee4f8605ae2d9b665707ea50be19d74eef824f10644bf6828c3fdd2ebae3 [INFO] running `Command { std: "docker" "start" "-a" "46acee4f8605ae2d9b665707ea50be19d74eef824f10644bf6828c3fdd2ebae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46acee4f8605ae2d9b665707ea50be19d74eef824f10644bf6828c3fdd2ebae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46acee4f8605ae2d9b665707ea50be19d74eef824f10644bf6828c3fdd2ebae3", kill_on_drop: false }` [INFO] [stdout] 46acee4f8605ae2d9b665707ea50be19d74eef824f10644bf6828c3fdd2ebae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955c23fda98fe81a75e9f1d363dc422e2413659f95529d722b4e66ce2c4d0edd [INFO] running `Command { std: "docker" "start" "-a" "955c23fda98fe81a75e9f1d363dc422e2413659f95529d722b4e66ce2c4d0edd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Checking syn v2.0.35 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking basic-toml v0.1.4 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Checking filedescriptor v0.8.2 [INFO] [stderr] Checking test-ur-code-xd-macro v0.1.0 (/opt/rustwide/workdir/crates/test-ur-code-xd-macro) [INFO] [stderr] Checking gag v1.0.0 [INFO] [stderr] Checking test-ur-code-xd v0.1.0 (/opt/rustwide/workdir/crates/test-ur-code-xd) [INFO] [stdout] warning: unused import: `convert` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/config.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use std::{convert, error::Error, fmt::Display, panic::Location}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::Location` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/output.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::panic::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CapturedOutputs`, `OutputCapturingError`, `panic_message_builder::PanicMessageBuilder` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/output.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | capture_output::{capture_output, capture_output_raw, CapturedOutputs, OutputCapturingError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | panic_message_builder::PanicMessageBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/capture_output.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | result::Result, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ae973628c64ab60398819bcc1fd9f08ae68ad5b5/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/diff.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/string.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | PanicMessageBuilder::new_from_error("invalid regex pattern", Location::caller(), &error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- an argument of type `MessageType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new_from_error( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 231 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 232 | error_description: &str, [INFO] [stdout] | ----------------------- [INFO] [stdout] 233 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 234 | error: &impl Error, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 226 | PanicMessageBuilder::new_from_error(/* MessageType */, "invalid regex pattern", Location::caller(), &error) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | PanicMessageBuilder::new("path is file", Location::caller()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |expected `MessageType`, found `&str` [INFO] [stdout] | an argument of type `&'static Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 438 | PanicMessageBuilder::new(/* MessageType */, Location::caller(), /* &'static Location<'static> */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | PanicMessageBuilder::new_from_error("error reading file", Location::caller(), &error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- an argument of type `MessageType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new_from_error( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 231 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 232 | error_description: &str, [INFO] [stdout] | ----------------------- [INFO] [stdout] 233 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 234 | error: &impl Error, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 453 | PanicMessageBuilder::new_from_error(/* MessageType */, "error reading file", Location::caller(), &error) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | / format!( [INFO] [stdout] 568 | | "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 569 | | file_len, usize::MAX [INFO] [stdout] 570 | | ), [INFO] [stdout] | |_________________^ expected `MessageType`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | PanicMessageBuilder::new( [INFO] [stdout] | _____________^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 567 | | format!( [INFO] [stdout] 568 | | "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 569 | | file_len, usize::MAX [INFO] [stdout] 570 | | ), [INFO] [stdout] 571 | | Location::caller(), [INFO] [stdout] 572 | | ) [INFO] [stdout] | |_____________- an argument of type `&'static Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 566 ~ PanicMessageBuilder::new(format!( [INFO] [stdout] 567 + "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 568 + file_len, usize::MAX [INFO] [stdout] 569 + ), Location::caller(), /* &'static Location<'static> */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MessageType`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | PanicMessageBuilder::new( [INFO] [stdout] | _________^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 595 | | format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), [INFO] [stdout] 596 | | Location::caller(), [INFO] [stdout] 597 | | ) [INFO] [stdout] | |_________- an argument of type `&'static Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 594 | PanicMessageBuilder::new(format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), Location::caller(), /* &'static Location<'static> */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/panic.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | PanicMessageBuilder::new("action panics", location).panic(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `MessageType`, found `&str` [INFO] [stdout] | an argument of type `&'static Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 | PanicMessageBuilder::new(/* MessageType */, location, /* &'static Location<'static> */).panic(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/config.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use std::{convert, error::Error, fmt::Display, panic::Location}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::panic::Location` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/output.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::panic::Location; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CapturedOutputs`, `OutputCapturingError`, `panic_message_builder::PanicMessageBuilder` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/output.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | capture_output::{capture_output, capture_output_raw, CapturedOutputs, OutputCapturingError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | panic_message_builder::PanicMessageBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/capture_output.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | result::Result, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/ae973628c64ab60398819bcc1fd9f08ae68ad5b5/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/diff.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/config.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | use std::{convert, error::Error, fmt::Display, panic::Location}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings 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 `test-ur-code-xd` (lib) due to 9 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/string.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | PanicMessageBuilder::new_from_error("invalid regex pattern", Location::caller(), &error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- an argument of type `panic_message_builder::MessageType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new_from_error( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 231 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 232 | error_description: &str, [INFO] [stdout] | ----------------------- [INFO] [stdout] 233 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 234 | error: &impl Error, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 226 | PanicMessageBuilder::new_from_error(/* panic_message_builder::MessageType */, "invalid regex pattern", Location::caller(), &error) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | PanicMessageBuilder::new("path is file", Location::caller()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | || [INFO] [stdout] | |expected `MessageType`, found `&str` [INFO] [stdout] | an argument of type `&'static std::panic::Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 438 | PanicMessageBuilder::new(/* panic_message_builder::MessageType */, Location::caller(), /* &'static std::panic::Location<'static> */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | PanicMessageBuilder::new_from_error("error reading file", Location::caller(), &error) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- an argument of type `panic_message_builder::MessageType` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new_from_error( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 231 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 232 | error_description: &str, [INFO] [stdout] | ----------------------- [INFO] [stdout] 233 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] 234 | error: &impl Error, [INFO] [stdout] | ------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 453 | PanicMessageBuilder::new_from_error(/* panic_message_builder::MessageType */, "error reading file", Location::caller(), &error) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | / format!( [INFO] [stdout] 568 | | "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 569 | | file_len, usize::MAX [INFO] [stdout] 570 | | ), [INFO] [stdout] | |_________________^ expected `MessageType`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | PanicMessageBuilder::new( [INFO] [stdout] | _____________^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 567 | | format!( [INFO] [stdout] 568 | | "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 569 | | file_len, usize::MAX [INFO] [stdout] 570 | | ), [INFO] [stdout] 571 | | Location::caller(), [INFO] [stdout] 572 | | ) [INFO] [stdout] | |_____________- an argument of type `&'static std::panic::Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 566 ~ PanicMessageBuilder::new(format!( [INFO] [stdout] 567 + "file size overflows system bit width (file size: {} bytes, maximum value of bit width: {} bytes)", [INFO] [stdout] 568 + file_len, usize::MAX [INFO] [stdout] 569 + ), Location::caller(), /* &'static std::panic::Location<'static> */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:595:13 [INFO] [stdout] | [INFO] [stdout] 595 | format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MessageType`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/filesystem.rs:594:9 [INFO] [stdout] | [INFO] [stdout] 594 | PanicMessageBuilder::new( [INFO] [stdout] | _________^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] 595 | | format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), [INFO] [stdout] 596 | | Location::caller(), [INFO] [stdout] 597 | | ) [INFO] [stdout] | |_________- an argument of type `&'static std::panic::Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 594 | PanicMessageBuilder::new(format!("file is larger than limit (size: {file_len} bytes, limit: {max_len} bytes)"), Location::caller(), /* &'static std::panic::Location<'static> */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/panic.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | PanicMessageBuilder::new("action panics", location).panic(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `MessageType`, found `&str` [INFO] [stdout] | an argument of type `&'static std::panic::Location<'static>` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/panic_message_builder.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 184 | message_type: MessageType, [INFO] [stdout] | ------------------------- [INFO] [stdout] 185 | predicate_description: impl Display, [INFO] [stdout] | ----------------------------------- [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 | PanicMessageBuilder::new(/* panic_message_builder::MessageType */, location, /* &'static std::panic::Location<'static> */).panic(); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> crates/test-ur-code-xd/src/assertions/config.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | use std::{convert, error::Error, fmt::Display, panic::Location}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings 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 `test-ur-code-xd` (lib test) due to 9 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "955c23fda98fe81a75e9f1d363dc422e2413659f95529d722b4e66ce2c4d0edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955c23fda98fe81a75e9f1d363dc422e2413659f95529d722b4e66ce2c4d0edd", kill_on_drop: false }` [INFO] [stdout] 955c23fda98fe81a75e9f1d363dc422e2413659f95529d722b4e66ce2c4d0edd