[INFO] cloning repository https://github.com/gopakumarce/RustLED [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gopakumarce/RustLED" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopakumarce%2FRustLED", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopakumarce%2FRustLED'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ea78589ec099cd2a133d5dae5ed8fbb9d571021 [INFO] checking gopakumarce/RustLED/7ea78589ec099cd2a133d5dae5ed8fbb9d571021 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgopakumarce%2FRustLED" "/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/gopakumarce/RustLED 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] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/gopakumarce/RustLED [INFO] finished tweaking git repo https://github.com/gopakumarce/RustLED [INFO] tweaked toml for git repo https://github.com/gopakumarce/RustLED written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gopakumarce/RustLED 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 git repository `https://github.com/esp-rs/embuild.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/gopakumarce/esp-idf-hal.git` [INFO] [stderr] Updating git repository `https://github.com/gopakumarce/esp-idf-svc.git` [INFO] [stderr] Updating git repository `https://github.com/gopakumarce/esp-idf-sys.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded zero v0.1.3 [INFO] [stderr] Downloaded xmas-elf v0.9.1 [INFO] [stderr] Downloaded anyhow v1.0.77 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded cvt v0.1.2 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded build-time v0.1.3 [INFO] [stderr] Downloaded embedded-svc v0.26.4 [INFO] [stderr] Downloaded embedded-svc v0.25.3 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-rc.1 [INFO] [stderr] Downloaded no-std-net v0.5.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-rc.1 [INFO] [stderr] Downloaded yansi-term v0.1.2 [INFO] [stderr] Downloaded annotate-snippets v0.9.2 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded fs_at v0.1.10 [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] 5d1dc0a0a9908284b34a0486ba0a2bbd9006d564b061548a9d7c2c32785a5bbe [INFO] running `Command { std: "docker" "start" "-a" "5d1dc0a0a9908284b34a0486ba0a2bbd9006d564b061548a9d7c2c32785a5bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d1dc0a0a9908284b34a0486ba0a2bbd9006d564b061548a9d7c2c32785a5bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1dc0a0a9908284b34a0486ba0a2bbd9006d564b061548a9d7c2c32785a5bbe", kill_on_drop: false }` [INFO] [stdout] 5d1dc0a0a9908284b34a0486ba0a2bbd9006d564b061548a9d7c2c32785a5bbe [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] c0efcf3f3639f518c21c37c46a923075a8af10eeb93a7e73376691cf4752e57c [INFO] running `Command { std: "docker" "start" "-a" "c0efcf3f3639f518c21c37c46a923075a8af10eeb93a7e73376691cf4752e57c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling zero v0.1.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling xmas-elf v0.9.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shlex v1.2.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking rustled-platforms-common v0.1.0 (/opt/rustwide/workdir/platforms/common) [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rustled-common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling embuild v0.31.4 (https://github.com/esp-rs/embuild.git?branch=master#69aea8b0) [INFO] [stderr] Compiling rustled-sample-main v0.1.0 (/opt/rustwide/workdir/sample_main) [INFO] [stderr] Compiling rustled-platforms-esp v0.1.0 (/opt/rustwide/workdir/platforms/esp) [INFO] [stderr] Checking rustled-platforms-stub v0.1.0 (/opt/rustwide/workdir/platforms/stub) [INFO] [stdout] warning: unexpected `cfg` condition name: `esp_idf_idf_target` [INFO] [stdout] --> platforms/esp/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(esp_idf_idf_target = "esp32")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(esp_idf_idf_target, values("esp32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(esp_idf_idf_target, values(\"esp32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `esp_idf_idf_target` [INFO] [stdout] --> platforms/esp/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | if #[cfg(esp_idf_idf_target = "esp32")] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(esp_idf_idf_target, values("esp32"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(esp_idf_idf_target, values(\"esp32\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> platforms/stub/src/lib.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | std::thread::sleep(std::time::Duration::from_millis(time_msecs)); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/time.rs:263:18 [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | std::thread::sleep(std::time::Duration::from_millis(time_msecs.try_into().unwrap())); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> platforms/stub/src/lib.rs:10:57 [INFO] [stdout] | [INFO] [stdout] 10 | std::thread::sleep(std::time::Duration::from_millis(time_msecs)); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/time.rs:263:18 [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 10 | std::thread::sleep(std::time::Duration::from_millis(time_msecs.try_into().unwrap())); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustled-platforms-stub` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustled-platforms-stub` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c0efcf3f3639f518c21c37c46a923075a8af10eeb93a7e73376691cf4752e57c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0efcf3f3639f518c21c37c46a923075a8af10eeb93a7e73376691cf4752e57c", kill_on_drop: false }` [INFO] [stdout] c0efcf3f3639f518c21c37c46a923075a8af10eeb93a7e73376691cf4752e57c