[INFO] fetching crate libninja_macro 0.1.0... [INFO] checking libninja_macro-0.1.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate libninja_macro 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate libninja_macro 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate libninja_macro 0.1.0 [INFO] tweaked toml for crates.io crate libninja_macro 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libninja_macro 0.1.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6efa6fb2f933babb6a2718d7995241c9949d8d2cecbd9a3d57564eab6f529405 [INFO] running `Command { std: "docker" "start" "-a" "6efa6fb2f933babb6a2718d7995241c9949d8d2cecbd9a3d57564eab6f529405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6efa6fb2f933babb6a2718d7995241c9949d8d2cecbd9a3d57564eab6f529405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efa6fb2f933babb6a2718d7995241c9949d8d2cecbd9a3d57564eab6f529405", kill_on_drop: false }` [INFO] [stdout] 6efa6fb2f933babb6a2718d7995241c9949d8d2cecbd9a3d57564eab6f529405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59f16f55cd7694018630a2a14f05110e1a0c95af14ee992419c49f4ac8a13314 [INFO] running `Command { std: "docker" "start" "-a" "59f16f55cd7694018630a2a14f05110e1a0c95af14ee992419c49f4ac8a13314", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking libninja_macro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mir` [INFO] [stdout] --> tests/function.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mir::{Function, Visibility}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `mir` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mir`, use `cargo add mir` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mir` [INFO] [stdout] --> tests/rfunction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mir::Function; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `mir` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mir`, use `cargo add mir` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | let s: Function = function!(async main() {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let s: Function = function!(print_repeated(s: str, n: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/test_only_need_single_braces.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = function!(pub NewClientFromEnv() -> #client_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/rfunction.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | let s: Function = rfunction!(add(a: i32, b: i32) -> i32 { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 10 | | println!("Hello, World!") [INFO] [stdout] 11 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let s: Function = function!(add(a: int, b: int) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/test_only_need_single_braces.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut s = function!(pub NewClientFromEnv() -> #client_name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/rfunction.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut main = rfunction!(main()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | let s: Function = function!(add(a: int, b: #z) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/rfunction.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | let s: Function = rfunction!(add(a: i32, b: i32) -> i32 { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 10 | | println!("Hello, World!") [INFO] [stdout] 11 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/rfunction.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut main = rfunction!(main()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `rfunction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libninja_macro` (test "test_only_need_single_braces") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Function = function!(add(a: int, b: int) -> #z {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libninja_macro` (test "rfunction") due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let s: Function = function!(#z(a: int, b: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 67 | | print(a); [INFO] [stdout] 68 | | print(b); [INFO] [stdout] 69 | | a + b; [INFO] [stdout] 70 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 86 | | print(a); [INFO] [stdout] 87 | | print(b); [INFO] [stdout] 88 | | a + b; [INFO] [stdout] 89 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | let s: Function = function!(async main() {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let s: Function = function!(print_repeated(s: str, n: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let s: Function = function!(print_repeated(s: str, n: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let s: Function = function!(add(a: int, b: int) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | let s: Function = function!(add(a: int, b: int) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | let s: Function = function!(add(a: int, b: #z) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | let s: Function = function!(add(a: int, b: #z) -> int {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Function = function!(add(a: int, b: int) -> #z {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:53:31 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Function = function!(add(a: int, b: int) -> #z {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let s: Function = function!(#z(a: int, b: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let s: Function = function!(#z(a: int, b: int) {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 67 | | print(a); [INFO] [stdout] 68 | | print(b); [INFO] [stdout] 69 | | a + b; [INFO] [stdout] 70 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 67 | | print(a); [INFO] [stdout] 68 | | print(b); [INFO] [stdout] 69 | | a + b; [INFO] [stdout] 70 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 86 | | print(a); [INFO] [stdout] 87 | | print(b); [INFO] [stdout] 88 | | a + b; [INFO] [stdout] 89 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Visibility; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mir` in the list of imported crates [INFO] [stdout] --> tests/function.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | let s: Function = function!(debug_add(a: int, b: int) -> int { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 86 | | print(a); [INFO] [stdout] 87 | | print(b); [INFO] [stdout] 88 | | a + b; [INFO] [stdout] 89 | | }); [INFO] [stdout] | |______^ could not find `mir` in the list of imported crates [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use proc_macro2::Ident; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Ident; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libninja_macro` (test "function") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "59f16f55cd7694018630a2a14f05110e1a0c95af14ee992419c49f4ac8a13314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f16f55cd7694018630a2a14f05110e1a0c95af14ee992419c49f4ac8a13314", kill_on_drop: false }` [INFO] [stdout] 59f16f55cd7694018630a2a14f05110e1a0c95af14ee992419c49f4ac8a13314