[INFO] fetching crate embed-rust 0.4.0... [INFO] checking embed-rust-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate embed-rust 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate embed-rust 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate embed-rust 0.4.0 [INFO] tweaked toml for crates.io crate embed-rust 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate embed-rust 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate embed-rust 0.4.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a802f982fd00b405355283966ad93deebaafaba40ef00dab962de113231ba4f9 [INFO] running `Command { std: "docker" "start" "-a" "a802f982fd00b405355283966ad93deebaafaba40ef00dab962de113231ba4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a802f982fd00b405355283966ad93deebaafaba40ef00dab962de113231ba4f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a802f982fd00b405355283966ad93deebaafaba40ef00dab962de113231ba4f9", kill_on_drop: false }` [INFO] [stdout] a802f982fd00b405355283966ad93deebaafaba40ef00dab962de113231ba4f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2ddb8d4b1d4d684b5f62a8faf425a3a15806dc2517eaffc9fe1ae371e55f32a [INFO] running `Command { std: "docker" "start" "-a" "a2ddb8d4b1d4d684b5f62a8faf425a3a15806dc2517eaffc9fe1ae371e55f32a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling embed-rust v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking sanitize-filename v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] error: couldn't read `tests/binaries/relative-path.bin`: No such file or directory (os error 2) [INFO] [stdout] --> tests/binary_cache_path.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | const BINARY_PATH_SIMPLE_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 8 | | path: "projects/relative-path", [INFO] [stdout] 9 | | binary_cache_path: "binaries/relative-path.bin", [INFO] [stdout] 10 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/binaries/relative-path.bin`: No such file or directory (os error 2) [INFO] [stdout] --> tests/binary_cache_path.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | const BINARY_PATH_FALLBACK_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 17 | | path: "projects/non-existent-path", [INFO] [stdout] 18 | | binary_cache_path: "binaries/relative-path.bin", [INFO] [stdout] 19 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Given path does not exist: projects/relative-path [INFO] [stdout] --> tests/relative_path.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | const RELATIVE_PATH_SIMPLE_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 8 | | path: "projects/relative-path" [INFO] [stdout] 9 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed-rust` (test "binary_cache_path") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `embed-rust` (test "relative_path") due to 1 previous error [INFO] [stdout] error: Failed to clone embedded project: `"git" "clone" "--recurse-submodules" "--depth=1" "https://github.com/Abestanis/embed-rust.git" "/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsgit_rs_7_39"` failed with exit code Some(128) [INFO] [stdout] # Stdout: [INFO] [stdout] [INFO] [stdout] # Stderr: [INFO] [stdout] Cloning into '/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsgit_rs_7_39'... [INFO] [stdout] fatal: unable to access 'https://github.com/Abestanis/embed-rust.git/': Could not resolve host: github.com [INFO] [stdout] --> tests/git.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | const GIT_SIMPLE_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 8 | | git: "https://github.com/Abestanis/embed-rust.git" [INFO] [stdout] 9 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to clone embedded project: `"git" "clone" "--recurse-submodules" "--depth=1" "https://github.com/Abestanis/embed-rust.git" "/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsfallback_sources_rs_7_41"` failed with exit code Some(128) [INFO] [stdout] # Stdout: [INFO] [stdout] [INFO] [stdout] # Stderr: [INFO] [stdout] Cloning into '/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsfallback_sources_rs_7_41'... [INFO] [stdout] fatal: unable to access 'https://github.com/Abestanis/embed-rust.git/': Could not resolve host: github.com [INFO] [stdout] --> tests/fallback_sources.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | const FALLBACK_GIT_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 8 | | path: "non_existent", [INFO] [stdout] 9 | | git: "https://github.com/Abestanis/embed-rust.git" [INFO] [stdout] 10 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Given path does not exist: projects/relative-path [INFO] [stdout] --> tests/fallback_sources.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | const FALLBACK_PATH_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 18 | | git: "https://github.com/Abestanis/embed-rust-non-existent.git", [INFO] [stdout] 19 | | path: "projects/relative-path" [INFO] [stdout] 20 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Failed to clone embedded project: `"git" "clone" "--recurse-submodules" "--depth=1" "--branch" "main" "https://github.com/Abestanis/embed-rust.git" "/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsgit_rs_13_40"` failed with exit code Some(128) [INFO] [stdout] # Stdout: [INFO] [stdout] [INFO] [stdout] # Stderr: [INFO] [stdout] Cloning into '/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsgit_rs_13_40'... [INFO] [stdout] fatal: unable to access 'https://github.com/Abestanis/embed-rust.git/': Could not resolve host: github.com [INFO] [stdout] --> tests/git.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | const GIT_COMPLEX_EXAMPLE: &[u8] = embed_rust!({ [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 14 | | git: { url: "https://github.com/Abestanis/embed-rust.git", path: "tests/projects/git", branch: "main" } [INFO] [stdout] 15 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed-rust` (test "fallback_sources") due to 2 previous errors [INFO] [stderr] error: could not compile `embed-rust` (test "git") due to 2 previous errors [INFO] [stdout] error: Failed to build embedded project crate at /opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsdifferent_target_rs_7_47: `cd "/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsdifferent_target_rs_7_47" && "cargo" "build" "--release"` failed with exit code Some(101) [INFO] [stdout] # Stdout: [INFO] [stdout] [INFO] [stdout] # Stderr: [INFO] [stdout] Updating crates.io index [INFO] [stdout] warning: spurious network error (3 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) [INFO] [stdout] warning: spurious network error (2 tries remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) [INFO] [stdout] warning: spurious network error (1 try remaining): [6] Could not resolve hostname (Could not resolve host: index.crates.io) [INFO] [stdout] error: failed to get `cortex-m` as a dependency of package `testsdifferent_target_rs_7_47 v0.1.0 (/opt/rustwide/target/debug/build/embed-rust-5000436d185f6c84/out/testsdifferent_target_rs_7_47)` [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] download of config.json failed [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] failed to download from `https://index.crates.io/config.json` [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] [6] Could not resolve hostname (Could not resolve host: index.crates.io) [INFO] [stdout] --> tests/different_target.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | const EMBEDDED_TARGET_EXECUTABLE: &[u8] = embed_rust!({ [INFO] [stdout] | _______________________________________________^ [INFO] [stdout] 8 | | source: { [INFO] [stdout] 9 | | #![no_std] [INFO] [stdout] 10 | | #![no_main] [INFO] [stdout] ... | [INFO] [stdout] 62 | | "# [INFO] [stdout] 63 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `embed_rust` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `embed-rust` (test "different_target") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a2ddb8d4b1d4d684b5f62a8faf425a3a15806dc2517eaffc9fe1ae371e55f32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ddb8d4b1d4d684b5f62a8faf425a3a15806dc2517eaffc9fe1ae371e55f32a", kill_on_drop: false }` [INFO] [stdout] a2ddb8d4b1d4d684b5f62a8faf425a3a15806dc2517eaffc9fe1ae371e55f32a