[INFO] cloning repository https://github.com/KrisJe/jiraclone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KrisJe/jiraclone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fjiraclone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fjiraclone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdb2184ddd8487a96e1a6dc8201d57d609ccc511 [INFO] checking KrisJe/jiraclone/fdb2184ddd8487a96e1a6dc8201d57d609ccc511 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisJe%2Fjiraclone" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KrisJe/jiraclone 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/KrisJe/jiraclone [INFO] finished tweaking git repo https://github.com/KrisJe/jiraclone [INFO] tweaked toml for git repo https://github.com/KrisJe/jiraclone written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KrisJe/jiraclone 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96529d741a5c0ed8e335ec9f3a47a045f9134a8e8eda8921674545500902d7ba [INFO] running `Command { std: "docker" "start" "-a" "96529d741a5c0ed8e335ec9f3a47a045f9134a8e8eda8921674545500902d7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96529d741a5c0ed8e335ec9f3a47a045f9134a8e8eda8921674545500902d7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96529d741a5c0ed8e335ec9f3a47a045f9134a8e8eda8921674545500902d7ba", kill_on_drop: false }` [INFO] [stdout] 96529d741a5c0ed8e335ec9f3a47a045f9134a8e8eda8921674545500902d7ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f1ef515e5665a5cd7c3ee17e5f7ef0f92b4095ef34c3ce80e82d41a6d4ca994 [INFO] running `Command { std: "docker" "start" "-a" "7f1ef515e5665a5cd7c3ee17e5f7ef0f92b4095ef34c3ce80e82d41a6d4ca994", 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.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Checking jiraclone v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/db.rs (4 fixes) [INFO] [stderr] Fixed src/models.rs (2 fixes) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Epic { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, description: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Story { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 43 | pub fn new(name: String, description: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl DBState { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JiraDatabase` is never constructed [INFO] [stdout] --> src/db.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct JiraDatabase { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/db.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl JiraDatabase { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(file_path: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn read_db(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn create_epic(&self, epic: Epic) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn create_story(&self, story: Story, epic_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn delete_epic(&self, epic_id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn delete_story(&self,epic_id: u32, story_id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn update_epic_status(&self, epic_id: u32, status: Status) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update_story_status(&self, story_id: u32, status: Status) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Database` is never used [INFO] [stdout] --> src/db.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | trait Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JSONFileDatabase` is never constructed [INFO] [stdout] --> src/db.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct JSONFileDatabase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Story` in this scope [INFO] [stdout] --> src/models.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let story = Story { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Story; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/models.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | status: Status::Open, [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Epic` [INFO] [stdout] --> src/models.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let apic2 = Epic::new("epic 1".to_owned(),"epic 1".to_owned()); [INFO] [stdout] | ^^^^ use of undeclared type `Epic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Epic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Epic` in this scope [INFO] [stdout] --> src/models.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let epic = Epic { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Epic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/models.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | status: Status::Open, [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/models.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(matches!(epic.status,Status::Open)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/models.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(matches!(story.status,Status::Open)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/models.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let mut stories = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::HashMap; [INFO] [stdout] | [INFO] [stdout] 76 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/models.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | let mut epics = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::HashMap; [INFO] [stdout] | [INFO] [stdout] 76 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DBState` in this scope [INFO] [stdout] --> src/models.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let state = DBState { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 76 + use crate::models::DBState; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jiraclone` (bin "jiraclone" test) due to 11 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" "7f1ef515e5665a5cd7c3ee17e5f7ef0f92b4095ef34c3ce80e82d41a6d4ca994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1ef515e5665a5cd7c3ee17e5f7ef0f92b4095ef34c3ce80e82d41a6d4ca994", kill_on_drop: false }` [INFO] [stdout] 7f1ef515e5665a5cd7c3ee17e5f7ef0f92b4095ef34c3ce80e82d41a6d4ca994