[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 try#c4ca24658d934444a28db36abebef17a8651701a for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophie-katz%2Ftest-ur-code-XD" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sophie-katz/test-ur-code-XD on toolchain c4ca24658d934444a28db36abebef17a8651701a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c4ca24658d934444a28db36abebef17a8651701a" "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 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gag v1.0.0 [INFO] [stderr] Downloaded panic-message v0.3.0 [INFO] [stderr] Downloaded trybuild v1.0.85 [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded syn v2.0.35 [INFO] [stderr] Downloaded rustix v0.38.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f27a4aff5f9fd4fce551c9bbd3fb5b1138112325167014bbfc845572ddfaa4b0 [INFO] running `Command { std: "docker" "start" "-a" "f27a4aff5f9fd4fce551c9bbd3fb5b1138112325167014bbfc845572ddfaa4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f27a4aff5f9fd4fce551c9bbd3fb5b1138112325167014bbfc845572ddfaa4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27a4aff5f9fd4fce551c9bbd3fb5b1138112325167014bbfc845572ddfaa4b0", kill_on_drop: false }` [INFO] [stdout] f27a4aff5f9fd4fce551c9bbd3fb5b1138112325167014bbfc845572ddfaa4b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+c4ca24658d934444a28db36abebef17a8651701a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76a70b1bc815b2801d45398bff188ea7ad263e75b5cfba184f267d061c2debbb [INFO] running `Command { std: "docker" "start" "-a" "76a70b1bc815b2801d45398bff188ea7ad263e75b5cfba184f267d061c2debbb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking panic-message v0.3.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Compiling syn v2.0.35 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Compiling trybuild v1.0.85 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking regex-automata v0.3.8 [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`, and `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: 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: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/truncate.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- argument #1 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] 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] | argument #3 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] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 438 - PanicMessageBuilder::new("path is file", Location::caller()) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- argument #1 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] 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] | |_____________- argument #3 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] ... [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] | |_________- argument #3 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] ... [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 594 - PanicMessageBuilder::new( [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] 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] 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`, and `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] 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] | argument #3 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] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 - PanicMessageBuilder::new("action panics", location).panic(); [INFO] [stdout] 42 + PanicMessageBuilder::new(/* MessageType */, location, /* &'static Location<'static> */).panic(); [INFO] [stdout] | [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] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> crates/test-ur-code-xd/src/utilities/truncate.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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 8 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------- argument #1 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] 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] | argument #3 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] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 438 - PanicMessageBuilder::new("path is file", Location::caller()) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------- argument #1 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] 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] | |_____________- argument #3 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] ... [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] | |_________- argument #3 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] ... [INFO] [stdout] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 594 - PanicMessageBuilder::new( [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] 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] | argument #3 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] 186 | location: &'static Location<'static>, [INFO] [stdout] | ------------------------------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 42 - PanicMessageBuilder::new("action panics", location).panic(); [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] 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 8 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "76a70b1bc815b2801d45398bff188ea7ad263e75b5cfba184f267d061c2debbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a70b1bc815b2801d45398bff188ea7ad263e75b5cfba184f267d061c2debbb", kill_on_drop: false }` [INFO] [stdout] 76a70b1bc815b2801d45398bff188ea7ad263e75b5cfba184f267d061c2debbb