[INFO] cloning repository https://github.com/user1303836/rust_config_converter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/user1303836/rust_config_converter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser1303836%2Frust_config_converter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser1303836%2Frust_config_converter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 234080a39f4def1d0ed58b39d81ba4b5709a7c31 [INFO] checking user1303836/rust_config_converter against try#2277c63fa464d237b17b68d3b87f9fbb89e58a3e for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuser1303836%2Frust_config_converter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/user1303836/rust_config_converter on toolchain 2277c63fa464d237b17b68d3b87f9fbb89e58a3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/user1303836/rust_config_converter [INFO] finished tweaking git repo https://github.com/user1303836/rust_config_converter [INFO] tweaked toml for git repo https://github.com/user1303836/rust_config_converter written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/user1303836/rust_config_converter 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" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff34dad0c0fcd1319934759f458156f778092109480c348c67ea0deb7ac97443 [INFO] running `Command { std: "docker" "start" "-a" "ff34dad0c0fcd1319934759f458156f778092109480c348c67ea0deb7ac97443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff34dad0c0fcd1319934759f458156f778092109480c348c67ea0deb7ac97443", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff34dad0c0fcd1319934759f458156f778092109480c348c67ea0deb7ac97443", kill_on_drop: false }` [INFO] [stdout] ff34dad0c0fcd1319934759f458156f778092109480c348c67ea0deb7ac97443 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+2277c63fa464d237b17b68d3b87f9fbb89e58a3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23b2d1a41012adb66420cb807e8066f7335b802f9dc9bf92d55125e619395e9a [INFO] running `Command { std: "docker" "start" "-a" "23b2d1a41012adb66420cb807e8066f7335b802f9dc9bf92d55125e619395e9a", kill_on_drop: false }` [INFO] [stderr] Checking json_yaml_converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `debug` in this scope [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(debug)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Debug` [INFO] [stdout] --> /rustc/2277c63fa464d237b17b68d3b87f9fbb89e58a3e/library/core/src/fmt/mod.rs:646:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Debug` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `debug` in this scope [INFO] [stdout] --> src/main.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(debug)] [INFO] [stdout] | ^^^^^ help: a derive macro with a similar name exists: `Debug` [INFO] [stdout] --> /rustc/2277c63fa464d237b17b68d3b87f9fbb89e58a3e/library/core/src/fmt/mod.rs:646:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named derive macro `Debug` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 71 | return Ok(()); [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 71 | return Ok(()); [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 76 | Ok(()) [INFO] [stdout] | ^^^^^^ expected `()`, found `Result<(), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | fn convert_yaml_to_json(filename: &str) -> Result<(), ConversionError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_json_to_yaml(filename: &str) -> Result<(), ConversionError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | fn convert_yaml_to_json(filename: &str) -> Result<(), ConversionError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | fn convert_json_to_yaml(filename: &str) -> Result<(), ConversionError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json_yaml_converter` (bin "json_yaml_converter") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `json_yaml_converter` (bin "json_yaml_converter" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23b2d1a41012adb66420cb807e8066f7335b802f9dc9bf92d55125e619395e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b2d1a41012adb66420cb807e8066f7335b802f9dc9bf92d55125e619395e9a", kill_on_drop: false }` [INFO] [stdout] 23b2d1a41012adb66420cb807e8066f7335b802f9dc9bf92d55125e619395e9a