[INFO] cloning repository https://github.com/lgthevinh/rust-blockly
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lgthevinh/rust-blockly" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgthevinh%2Frust-blockly", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgthevinh%2Frust-blockly'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 33be451402654f0eab0652f4cf873a046449c309
[INFO] checking lgthevinh/rust-blockly against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgthevinh%2Frust-blockly" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lgthevinh/rust-blockly
[INFO] finished tweaking git repo https://github.com/lgthevinh/rust-blockly
[INFO] tweaked toml for git repo https://github.com/lgthevinh/rust-blockly written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lgthevinh/rust-blockly on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lgthevinh/rust-blockly 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb
[INFO] running `Command { std: "docker" "start" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]     Checking serde v1.0.229
[INFO] [stderr]     Checking rust-blockly v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `sync::OnceLock`
[INFO] [stdout]  --> src/core.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::OnceLock};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BFieldType` and `BField`
[INFO] [stdout]  --> src/test/sample_codegen.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::core::block::{BField, BFieldType, BInput, BInputType};
[INFO] [stdout]   |                          ^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arg` and `BlockDef`
[INFO] [stdout]  --> src/test/sample_codegen.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::core::block_def::{Arg, BlockDef};
[INFO] [stdout]   |                              ^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `workspace::Workspace`
[INFO] [stdout]  --> src/test/sample_codegen.rs:5:51
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::core::{block::Block, codegen::Codegen, workspace::Workspace};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sync::OnceLock`
[INFO] [stdout]  --> src/core.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{collections::HashMap, sync::OnceLock};
[INFO] [stdout]   |                                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `includes` and `setups` are never read
[INFO] [stdout]  --> src/test/sample_codegen.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ArduinoCodegen {
[INFO] [stdout]   |            -------------- fields in this struct
[INFO] [stdout] 8 |     includes: HashMap<String, String>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 9 |     setups: HashMap<String, String>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]   --> src/test/sample_workspace.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 |         opcode: "gpio_digital_write".into(),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 10 -         opcode: "gpio_digital_write".into(),
[INFO] [stdout] 10 +         opcode: "gpio_digital_write",
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 10 -         opcode: "gpio_digital_write".into(),
[INFO] [stdout] 10 +         opcode: <&str as Into<_>>::into("gpio_digital_write"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `&str`
[INFO] [stdout]   --> src/test/sample_workspace.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 |         msg: "digital write %1 %2".into(),
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 11 -         msg: "digital write %1 %2".into(),
[INFO] [stdout] 11 +         msg: "digital write %1 %2",
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 11 -         msg: "digital write %1 %2".into(),
[INFO] [stdout] 11 +         msg: <&str as Into<_>>::into("digital write %1 %2"),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-blockly` (lib test) due to 2 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb", kill_on_drop: false }`
[INFO] [stdout] 8c65a018b9e714669c6ffb1d18a94d298a900dc08587dd4cac6b7b3fbcee65bb
