[INFO] cloning repository https://github.com/dustlang/miri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dustlang/miri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustlang%2Fmiri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustlang%2Fmiri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12dac5c0f7acd106401aa14fec758f0ff552f678 [INFO] checking dustlang/miri/12dac5c0f7acd106401aa14fec758f0ff552f678 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdustlang%2Fmiri" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dustlang/miri on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dustlang/miri [INFO] finished tweaking git repo https://github.com/dustlang/miri [INFO] tweaked toml for git repo https://github.com/dustlang/miri written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dustlang/miri 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compiletest_rs v0.5.0 [INFO] [stderr] Downloaded tester v0.7.0 [INFO] [stderr] Downloaded rustfix v0.5.1 [INFO] [stderr] Downloaded anyhow v1.0.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8804e36632215f7d9f666810e39282fe109235950626abb312c8532a8a477543 [INFO] running `Command { std: "docker" "start" "-a" "8804e36632215f7d9f666810e39282fe109235950626abb312c8532a8a477543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8804e36632215f7d9f666810e39282fe109235950626abb312c8532a8a477543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8804e36632215f7d9f666810e39282fe109235950626abb312c8532a8a477543", kill_on_drop: false }` [INFO] [stdout] 8804e36632215f7d9f666810e39282fe109235950626abb312c8532a8a477543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a1aa4fd094bbf6be6ef41bc3154b6f724f0090ad33b35a8cfdd60d118469f7 [INFO] running `Command { std: "docker" "start" "-a" "52a1aa4fd094bbf6be6ef41bc3154b6f724f0090ad33b35a8cfdd60d118469f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling compiletest_rs v0.5.0 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking tester v0.7.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking miri v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rustc_apfloat` [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_apfloat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_ast` [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rustc_ast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[macro_use] extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_index` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_mir` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_mir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::ImmTy`, `crate::Immediate`, `crate::InterpResult`, `crate::MPlaceTy`, `crate::MemPlaceMeta`, `crate::MemoryKind`, `crate::OpTy`, `crate::Pointer`, `crate::Scalar`, `crate::ScalarMaybeUninit` [INFO] [stdout] --> src/data_race.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | ImmTy, Immediate, InterpResult, MPlaceTy, MemPlaceMeta, MemoryKind, MiriEvalContext, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ no `MemoryKind` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `MemPlaceMeta` in the root [INFO] [stdout] | | | | no `MPlaceTy` in the root [INFO] [stdout] | | | no `InterpResult` in the root [INFO] [stdout] | | no `Immediate` in the root [INFO] [stdout] | no `ImmTy` in the root [INFO] [stdout] 78 | MiriEvalContextExt, MiriMemoryKind, OpTy, Pointer, RangeMap, Scalar, ScalarMaybeUninit, Tag, [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ no `ScalarMaybeUninit` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Scalar` in the root [INFO] [stdout] | | no `Pointer` in the root [INFO] [stdout] | no `OpTy` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] std::fmt::Pointer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `InterpError` [INFO] [stdout] --> src/diagnostics.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use InterpError::*; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `InterpError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/data_race.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/thread.rs:561:17 [INFO] [stdout] | [INFO] [stdout] 561 | throw_unsup_format!("foreign thread-local statics are not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/thread.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | throw_machine_stop!(TerminationInfo::Deadlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/thread.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | throw_unsup_format!("the main thread terminated without waiting for other threads"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/thread.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | throw_ub_format!("trying to join itself"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/thread.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | throw_ub_format!("trying to join a detached or already joined thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/thread.rs:324:13 [INFO] [stdout] | [INFO] [stdout] 324 | throw_ub_format!("trying to detach thread that was already detached or joined"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/stacked_borrows.rs:268:37 [INFO] [stdout] | [INFO] [stdout] 268 | Permission::Disabled => bug!("Cannot use Disabled for anything"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/stacked_borrows.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | Permission::SharedReadOnly => bug!("Cannot use SharedReadOnly for writing"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_machine_stop` in this scope [INFO] [stdout] --> src/stacked_borrows.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | err_machine_stop!(TerminationInfo::ExperimentalUb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | throw_unsup_format!("setting more than one thread local storage destructor for the same thread is not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | throw_ub_format!("setting thread's local storage destructor while destructors are already running"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | None => throw_ub_format!("storing to a non-existing TLS key: {}", key), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | None => throw_ub_format!("loading from a non-existing TLS key: {}", key), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | None => throw_ub_format!("removing a non-existig TLS key: {}", key), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/tls.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | throw_unsup_format!("we ran out of TLS key space"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/time.rs:159:26 [INFO] [stdout] | [INFO] [stdout] 159 | .map_err(|_| err_unsup_format!("programs running longer than 2^64 nanoseconds are not supported").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/time.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | .map_err(|_| err_unsup_format!("programs running longer than 2^63 nanoseconds are not supported"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/time.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | .map_err(|_| err_unsup_format!("programs running more than 2^64 Windows ticks after the Windows epoch are not supported"))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/time.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | .map_err(|_| err_unsup_format!("times before the Unix epoch are not supported").into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/panic.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | throw_ub_format!("unwinding despite panic=abort"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/os_str.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | .ok_or_else(|| err_unsup_format!("{:?} is not a valid utf-8 string", os_str).into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/os_str.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | .map_err(|_| err_unsup_format!("{:?} is not a valid utf-16 string", u16_vec))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/env.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | throw_unsup_format!("environment variable name contains '='"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/env.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | throw_unsup_format!("environment variable name is an empty string"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/env.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | throw_ub_format!("pointer to environment variable name is NULL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/env.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | unsupported => throw_unsup_format!("environment support for target OS `{}` not yet available", unsupported), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/dlsym.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | os => bug!("dlsym not implemented for target_os {}", os), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/windows/sync.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | throw_ub_format!("calling ReleaseSRWLockShared on an SRWLock that is not locked by the current thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/windows/sync.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | throw_ub_format!("calling ReleaseSRWLockExclusive on an SRWLock that is not exclusively locked by the current thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/windows/dlsym.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | _ => throw_unsup_format!("unsupported Windows dlsym: {}", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/windows/foreign_items.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | _ => throw_unsup_format!("can't call foreign function: {}", link_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/windows/foreign_items.rs:324:17 [INFO] [stdout] | [INFO] [stdout] 324 | throw_unsup_format!("Miri does not support concurrency on Windows"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/windows/foreign_items.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | throw_unsup_format!("on Windows, writing to anything except stdout/stderr is not supported") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/macos/dlsym.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | _ => throw_unsup_format!("unsupported macOS dlsym: {}", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/macos/foreign_items.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | _ => throw_unsup_format!("can't call foreign function: {}", link_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/sync.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | op => throw_unsup_format!("Miri does not support `futex` syscall with op={}", op), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/sync.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | ... throw_ub_format!("incorrect number of arguments for `futex` syscall with `op=FUTEX_WAIT`: got {}, expected at least 5", args.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/sync.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | throw_ub_format!("incorrect number of arguments for `futex` syscall: got {}, expected at least 4", args.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/dlsym.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | _ => throw_unsup_format!("unsupported Linux dlsym: {}", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:209:18 [INFO] [stdout] | [INFO] [stdout] 209 | _ => throw_unsup_format!("can't call foreign function: {}", link_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | id => throw_unsup_format!("Miri does not support syscall ID {}", id), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | ... throw_ub_format!("incorrect number of arguments for `statx` syscall: got {}, expected at least 6", args.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | ... throw_ub_format!("incorrect number of arguments for `getrandom` syscall: got {}, expected at least 4", args.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | throw_ub_format!("incorrect number of arguments for syscall: got 0, expected at least 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/linux/foreign_items.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | throw_ub_format!("`syscall` arguments must all have scalar layout, but {} does not", arg.layout.ty); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/thread.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | throw_unsup_format!("unsupported prctl option {}", option); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/thread.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | throw_unsup_format!("Miri supports pthread_join only with retval==NULL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | throw_ub_format!("destroying an awaited conditional variable"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | throw_unsup_format!("unsupported clock id: {}", clock_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:586:13 [INFO] [stdout] | [INFO] [stdout] 586 | throw_ub_format!("destroyed a locked rwlock"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | throw_ub_format!("unlocked an rwlock that was not locked by the active thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:485:13 [INFO] [stdout] | [INFO] [stdout] 485 | throw_ub_format!("destroyed a locked mutex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 474 | throw_unsup_format!("called pthread_mutex_unlock on an unsupported type of mutex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | throw_unsup_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | throw_unsup_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 395 | throw_machine_stop!(TerminationInfo::Deadlock); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:393:21 [INFO] [stdout] | [INFO] [stdout] 393 | throw_ub_format!("trying to acquire already locked default mutex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | throw_ub_format!("awaiting on unlocked or owned by a different thread mutex"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/sync.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | throw_unsup_format!("awaiting on a lock acquired multiple times is not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1219:21 [INFO] [stdout] | [INFO] [stdout] 1219 | throw_unsup_format!("the error {} couldn't be converted to a return value", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1178:21 [INFO] [stdout] | [INFO] [stdout] 1178 | throw_unsup_format!("a directory entry had a name too large to fit in libc::dirent"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1150:13 [INFO] [stdout] | [INFO] [stdout] 1150 | err_unsup_format!("the DIR pointer passed to readdir_r did not come from opendir") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1130:21 [INFO] [stdout] | [INFO] [stdout] 1130 | throw_unsup_format!("the error {} couldn't be converted to a return value", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1090:21 [INFO] [stdout] | [INFO] [stdout] 1090 | throw_unsup_format!("a directory entry had a name too large to fit in libc::dirent64"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:1063:13 [INFO] [stdout] | [INFO] [stdout] 1063 | err_unsup_format!("the DIR pointer passed to readdir64_r did not come from opendir") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:888:33 [INFO] [stdout] | [INFO] [stdout] 888 | .unwrap_or_else(|_| bug!("libc contains bad value for constant")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:850:13 [INFO] [stdout] | [INFO] [stdout] 850 | throw_unsup_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:571:13 [INFO] [stdout] | [INFO] [stdout] 571 | throw_unsup_format!("the {:#x} command is not supported for `fcntl`)", cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | throw_ub_format!("incorrect number of arguments for fcntl: got {}, expected at least 2", args.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | throw_unsup_format!("unsupported flags {:#x}", flag & !mirror); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | throw_unsup_format!("unsupported access mode {:#x}", access_mode); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | throw_unsup_format!("access mode flags on this target are unsupported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | throw_unsup_format!("non-default mode 0o{:o} is not supported", mode); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:358:25 [INFO] [stdout] | [INFO] [stdout] 358 | None => throw_unsup_format!("the error {} couldn't be converted to a return value", e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | throw_unsup_format!("stderr cannot be closed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | throw_unsup_format!("cannot seek on stderr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | throw_unsup_format!("cannot read from stderr"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | throw_unsup_format!("stderr cannot be used as FileHandle"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | throw_unsup_format!("stdout cannot be closed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | throw_unsup_format!("cannot seek on stdout"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | throw_unsup_format!("cannot read from stdout"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | throw_unsup_format!("stdout cannot be used as FileHandle"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | throw_unsup_format!("stdin cannot be closed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | throw_unsup_format!("cannot seek on stdin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | throw_unsup_format!("cannot write to stdin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/fs.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | throw_unsup_format!("stdin cannot be used as FileHandle"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/foreign_items.rs:242:36 [INFO] [stdout] | [INFO] [stdout] 242 | .ok_or_else(|| err_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/posix/foreign_items.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | throw_unsup_format!("unimplemented sysconf name: {}", name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/foreign_items.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/posix/foreign_items.rs:162:21 [INFO] [stdout] | [INFO] [stdout] 162 | throw_ub_format!("posix_memalign: alignment must be a power of two, but is {}", align); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:907:18 [INFO] [stdout] | [INFO] [stdout] 907 | _ => bug!("`float_to_int_unchecked` called with non-int output type {:?}", dest_ty), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:899:21 [INFO] [stdout] | [INFO] [stdout] 899 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:883:21 [INFO] [stdout] | [INFO] [stdout] 883 | throw_ub_format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:751:13 [INFO] [stdout] | [INFO] [stdout] 751 | bug!("Atomic arithmetic operations only work on integer types"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | name => throw_unsup_format!("unimplemented intrinsic: {}", name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | throw_machine_stop!(TerminationInfo::Abort("Trace/breakpoint trap".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:642:21 [INFO] [stdout] | [INFO] [stdout] 642 | throw_machine_stop!(TerminationInfo::Abort(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:634:21 [INFO] [stdout] | [INFO] [stdout] 634 | throw_machine_stop!(TerminationInfo::Abort(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:626:21 [INFO] [stdout] | [INFO] [stdout] 626 | throw_machine_stop!(TerminationInfo::Abort(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | _ => bug!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 174 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_ub_format` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | err_ub_format!("overflow computing total size of `write_bytes`") [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/intrinsics.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | None => throw_unsup_format!("unimplemented (diverging) intrinsic: {}", intrinsic_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:547:13 [INFO] [stdout] | [INFO] [stdout] 547 | throw_ub_format!("creating allocation with non-power-of-two alignment {}", align); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | throw_ub_format!("creating allocation with size 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:533:27 [INFO] [stdout] | [INFO] [stdout] 533 | target => throw_unsup_format!("the target `{}` is not supported", target), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:524:25 [INFO] [stdout] | [INFO] [stdout] 524 | throw_unsup_format!("unsupported llvm.aarch64.hint argument {}", hint); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:481:26 [INFO] [stdout] | [INFO] [stdout] 481 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:465:26 [INFO] [stdout] | [INFO] [stdout] 465 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:423:26 [INFO] [stdout] | [INFO] [stdout] 423 | _ => bug!(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_ub_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:251:58 [INFO] [stdout] | [INFO] [stdout] 251 | items.checked_mul(len).ok_or_else(|| err_ub_format!("overflow during calloc size computation"))?; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | throw_unsup_format!("pointer passed to miri_static_root must point to beginning of an allocated block"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | _ => throw_unsup_format!("can't call (diverging) foreign function: {}", link_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | throw_machine_stop!(TerminationInfo::Abort("the program aborted execution".to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | throw_machine_stop!(TerminationInfo::Exit(code.into())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/shims/foreign_items.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | arch => bug!("Unsupported target architecture: {}", arch), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/backtrace.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | throw_ub_format!("miri_resolve_frame must be declared with a `#[repr(C)]` return type"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/backtrace.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | throw_ub_format!("bad declaration of miri_resolve_frame - should return a struct with 5 fields"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/shims/backtrace.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | throw_ub_format!("expected function pointer, found {:?}", ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/backtrace.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | throw_unsup_format!("unknown `miri_resolve_frame` flags {}", flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/shims/backtrace.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | throw_unsup_format!("unknown `miri_get_backtrace` flags {}", flags); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | _ => bug!("Invalid operator on pointers: {:?}", bin_op), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | _ => bug!("We already established it has to be one of these operators."), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/operator.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | _ => bug!("Type system should not allow comparing Scalar with ScalarPair"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/machine.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | throw_unsup_format!("`extern` static {:?} is not supported by Miri", def_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/machine.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | throw_machine_stop!(TerminationInfo::Abort(msg)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub` in this scope [INFO] [stdout] --> src/intptrcast.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | throw_ub!(DanglingIntPointer(int, CheckInAllocMsg::InboundsTest)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub` in this scope [INFO] [stdout] --> src/intptrcast.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | Err(0) => throw_ub!(DanglingIntPointer(int, CheckInAllocMsg::InboundsTest)), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | err_unsup_format!("unsigned value {:#x} does not fit in {} bits", int, layout.size.bits()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | err_unsup_format!("signed value {:#x} does not fit in {} bits", int, layout.size.bits()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_machine_stop` in this scope [INFO] [stdout] --> src/helpers.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | throw_machine_stop!(TerminationInfo::UnsupportedInIsolation(format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/helpers.rs:572:9 [INFO] [stdout] | [INFO] [stdout] 572 | throw_ub_format!("calling a function with ABI {} using caller ABI {}", exp_abi.name(), abi.name()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/helpers.rs:564:5 [INFO] [stdout] | [INFO] [stdout] 564 | throw_ub_format!("incorrect number of arguments: got {}, expected {}", args.len(), N) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | throw_unsup_format!("setting the last OS error from an io::Error is unsupported for {}.", target_os) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:470:22 [INFO] [stdout] | [INFO] [stdout] 470 | _ => throw_unsup_format!("io error {} cannot be transformed into a raw os error", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | throw_unsup_format!("io error {} cannot be transformed into a raw os error", e) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/helpers.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | bug!("we should have already handled unions in `visit_value`") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/helpers.rs:354:25 [INFO] [stdout] | [INFO] [stdout] 354 | bug!("unions/primitives are not aggregates we should ever visit") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/helpers.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | throw_ub_format!("callee has more arguments than expected"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_ub_format` in this scope [INFO] [stdout] --> src/helpers.rs:185:21 [INFO] [stdout] | [INFO] [stdout] 185 | err_ub_format!("callee has fewer arguments than expected") [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `throw_ub_format` in this scope [INFO] [stdout] --> src/helpers.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | throw_ub_format!("calling a function with ABI {} using caller ABI {}", callee_abi.name(), caller_abi.name()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `err_unsup_format` in this scope [INFO] [stdout] --> src/helpers.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 150 | .map_err(|err| err_unsup_format!("host getrandom failed: {}", err))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/eval.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | bug!("main function must not take any arguments"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `bug` in this scope [INFO] [stdout] --> src/diagnostics.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | bug!("This error should be impossible in Miri: {}", e), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `map_first_last` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(map_first_last)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/machine.rs:347:53 [INFO] [stdout] | [INFO] [stdout] 347 | fn force_int_for_alignment_check(memory_extra: &Self::MemoryExtra) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `MemoryExtra` implemented for `machine::Evaluator<'mir, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 347 | fn force_int_for_alignment_check(memory_extra: & as Example>::MemoryExtra) -> bool { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/machine.rs:472:68 [INFO] [stdout] | [INFO] [stdout] 472 | ) -> (Cow<'b, Allocation>, Self::PointerTag) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `PointerTag` implemented for `machine::Evaluator<'mir, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 472 | ) -> (Cow<'b, Allocation>, as Example>::PointerTag) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/machine.rs:511:28 [INFO] [stdout] | [INFO] [stdout] 511 | memory_extra: &mut Self::MemoryExtra, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `MemoryExtra` implemented for `machine::Evaluator<'mir, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 511 | memory_extra: &mut as Example>::MemoryExtra, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/machine.rs:534:76 [INFO] [stdout] | [INFO] [stdout] 534 | fn tag_global_base_pointer(memory_extra: &MemoryExtra, id: AllocId) -> Self::PointerTag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if there were a trait named `Example` with associated type `PointerTag` implemented for `machine::Evaluator<'mir, 'tcx>`, you could use the fully-qualified path [INFO] [stdout] | [INFO] [stdout] 534 | fn tag_global_base_pointer(memory_extra: &MemoryExtra, id: AllocId) -> as Example>::PointerTag { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'tcx` is never used [INFO] [stdout] --> src/machine.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct FrameData<'tcx> { [INFO] [stdout] | ^^^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'tcx`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 168 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0392, E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miri` (lib) due to 169 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "52a1aa4fd094bbf6be6ef41bc3154b6f724f0090ad33b35a8cfdd60d118469f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a1aa4fd094bbf6be6ef41bc3154b6f724f0090ad33b35a8cfdd60d118469f7", kill_on_drop: false }` [INFO] [stdout] 52a1aa4fd094bbf6be6ef41bc3154b6f724f0090ad33b35a8cfdd60d118469f7