[INFO] cloning repository https://github.com/ManjulaNishanth/interview_QA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManjulaNishanth/interview_QA" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Finterview_QA", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Finterview_QA'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f000ab48b01267e42cdf14dc27c25a4d1aa14a2 [INFO] checking ManjulaNishanth/interview_QA/8f000ab48b01267e42cdf14dc27c25a4d1aa14a2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManjulaNishanth%2Finterview_QA" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManjulaNishanth/interview_QA on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ManjulaNishanth/interview_QA [INFO] finished tweaking git repo https://github.com/ManjulaNishanth/interview_QA [INFO] tweaked toml for git repo https://github.com/ManjulaNishanth/interview_QA written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ManjulaNishanth/interview_QA 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c4bb98d88960c38581f5f135c7103ccd1e55fdf02d909d3fa183b78868964b3 [INFO] running `Command { std: "docker" "start" "-a" "7c4bb98d88960c38581f5f135c7103ccd1e55fdf02d909d3fa183b78868964b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c4bb98d88960c38581f5f135c7103ccd1e55fdf02d909d3fa183b78868964b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4bb98d88960c38581f5f135c7103ccd1e55fdf02d909d3fa183b78868964b3", kill_on_drop: false }` [INFO] [stdout] 7c4bb98d88960c38581f5f135c7103ccd1e55fdf02d909d3fa183b78868964b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adb32688f97c6ed9b4860bce6e74b73be71b2fb0874af190ecb737c8eebdfc8c [INFO] running `Command { std: "docker" "start" "-a" "adb32688f97c6ed9b4860bce6e74b73be71b2fb0874af190ecb737c8eebdfc8c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking interview_QA v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/amazon/ques1.rs (4 fixes) [INFO] [stderr] Fixed src/amazon/ques2.rs (3 fixes) [INFO] [stdout] warning: function `evaluate_deployments` is never used [INFO] [stdout] --> src/amazon/ques1.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn evaluate_deployments(deployments: &[String]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_configuration` is never used [INFO] [stdout] --> src/amazon/ques2.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_configuration(config_str: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | json!({"status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | json!({"deployment_id": "d-09876543Cd", "status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | json!({"deployment_id": "d-09876543c#", "status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | json!({"deployment_id": "d-09876543cd1", "status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | json!({"deployment_id": "c-09876543cd", "status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | json!({"deployment_id": "d-09876543cd", "status": "Fail"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | json!({"deployment_id": "d-12345678ab", "status": "Success"}).to_string(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 59 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `evaluate_deployments` in this scope [INFO] [stdout] --> src/amazon/ques1.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let result = evaluate_deployments(&input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 59 + use crate::amazon::ques1::evaluate_deployments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_configuration` in this scope [INFO] [stdout] --> src/amazon/ques2.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let result = parse_configuration(config_str).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 92 + use crate::amazon::ques2::parse_configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_configuration` in this scope [INFO] [stdout] --> src/amazon/ques2.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | match parse_configuration(config_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 92 + use crate::amazon::ques2::parse_configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_configuration` in this scope [INFO] [stdout] --> src/amazon/ques2.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | match parse_configuration(config_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 92 + use crate::amazon::ques2::parse_configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_configuration` in this scope [INFO] [stdout] --> src/amazon/ques2.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | match parse_configuration(config_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 92 + use crate::amazon::ques2::parse_configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_configuration` in this scope [INFO] [stdout] --> src/amazon/ques2.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | match parse_configuration(config_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 92 + use crate::amazon::ques2::parse_configuration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `interview_QA` (bin "interview_QA" test) due to 14 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "adb32688f97c6ed9b4860bce6e74b73be71b2fb0874af190ecb737c8eebdfc8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb32688f97c6ed9b4860bce6e74b73be71b2fb0874af190ecb737c8eebdfc8c", kill_on_drop: false }` [INFO] [stdout] adb32688f97c6ed9b4860bce6e74b73be71b2fb0874af190ecb737c8eebdfc8c