[INFO] cloning repository https://github.com/joshwlewis/sample-counter-buildpack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshwlewis/sample-counter-buildpack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshwlewis%2Fsample-counter-buildpack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshwlewis%2Fsample-counter-buildpack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0877532082229f231fa517bb162bc93936901513 [INFO] checking joshwlewis/sample-counter-buildpack against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshwlewis%2Fsample-counter-buildpack" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joshwlewis/sample-counter-buildpack [INFO] finished tweaking git repo https://github.com/joshwlewis/sample-counter-buildpack [INFO] tweaked toml for git repo https://github.com/joshwlewis/sample-counter-buildpack written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshwlewis/sample-counter-buildpack on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joshwlewis/sample-counter-buildpack 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5057a14e11ad40495b020cdc1729356f923c84e47504c912e2a7190955b0627 [INFO] running `Command { std: "docker" "start" "-a" "e5057a14e11ad40495b020cdc1729356f923c84e47504c912e2a7190955b0627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5057a14e11ad40495b020cdc1729356f923c84e47504c912e2a7190955b0627", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5057a14e11ad40495b020cdc1729356f923c84e47504c912e2a7190955b0627", kill_on_drop: false }` [INFO] [stdout] e5057a14e11ad40495b020cdc1729356f923c84e47504c912e2a7190955b0627 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac06a5811fe4a3b1ab836683ba3faf60612dc0bcebd290ea2f879eb85e88aa21 [INFO] running `Command { std: "docker" "start" "-a" "ac06a5811fe4a3b1ab836683ba3faf60612dc0bcebd290ea2f879eb85e88aa21", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.15.0 [INFO] [stderr] Compiling libcnb-proc-macros v0.3.0 [INFO] [stderr] Checking libcnb-data v0.8.0 [INFO] [stderr] Checking libcnb v0.9.0 [INFO] [stderr] Checking sample_counter_buildpack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 54 | | Ok(ExistingLayerStrategy::Update) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(ExistingLayerStrategy::Update) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result, GenericError> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 62 | | LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 63 | | counter_u64: 1, [INFO] [stdout] 64 | | counter_i32: 1, [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | .build() [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 63 | | counter_u64: 1, [INFO] [stdout] 64 | | counter_i32: 1, [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | .build() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> Result, GenericError> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 74 | | LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 75 | | counter_u64: layer_data.content_metadata.metadata.counter_u64 + 1, [INFO] [stdout] 76 | | counter_i32: layer_data.content_metadata.metadata.counter_i32 + 1, [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .build() [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 75 | | counter_u64: layer_data.content_metadata.metadata.counter_u64 + 1, [INFO] [stdout] 76 | | counter_i32: layer_data.content_metadata.metadata.counter_i32 + 1, [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .build() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:85:91 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> Result, ::Error> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 86 | | println!("Previous layer data invalid!!!"); [INFO] [stdout] 87 | | println!("metadata: {metadata:?}"); [INFO] [stdout] 88 | | let toml = fs::read_to_string(&ctx.layers_dir.join("counting.toml")).unwrap(); [INFO] [stdout] 89 | | println!("File content: {toml}"); [INFO] [stdout] 90 | | Ok(MetadataMigration::RecreateLayer) [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(MetadataMigration::RecreateLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sample_counter_buildpack` (bin "sample_counter_buildpack" test) due to 8 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:53:54 [INFO] [stdout] | [INFO] [stdout] 53 | ) -> Result { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 54 | | Ok(ExistingLayerStrategy::Update) [INFO] [stdout] 55 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Ok(ExistingLayerStrategy::Update) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:61:60 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Result, GenericError> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 62 | | LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 63 | | counter_u64: 1, [INFO] [stdout] 64 | | counter_i32: 1, [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | .build() [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 63 | | counter_u64: 1, [INFO] [stdout] 64 | | counter_i32: 1, [INFO] [stdout] 65 | | }) [INFO] [stdout] 66 | | .build() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> Result, GenericError> { [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 74 | | LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 75 | | counter_u64: layer_data.content_metadata.metadata.counter_u64 + 1, [INFO] [stdout] 76 | | counter_i32: layer_data.content_metadata.metadata.counter_i32 + 1, [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .build() [INFO] [stdout] 79 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / LayerResultBuilder::new(CountingMetadata { [INFO] [stdout] 75 | | counter_u64: layer_data.content_metadata.metadata.counter_u64 + 1, [INFO] [stdout] 76 | | counter_i32: layer_data.content_metadata.metadata.counter_i32 + 1, [INFO] [stdout] 77 | | }) [INFO] [stdout] 78 | | .build() [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:85:91 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> Result, ::Error> { [INFO] [stdout] | ___________________________________________________________________________________________^ [INFO] [stdout] 86 | | println!("Previous layer data invalid!!!"); [INFO] [stdout] 87 | | println!("metadata: {metadata:?}"); [INFO] [stdout] 88 | | let toml = fs::read_to_string(&ctx.layers_dir.join("counting.toml")).unwrap(); [INFO] [stdout] 89 | | println!("File content: {toml}"); [INFO] [stdout] 90 | | Ok(MetadataMigration::RecreateLayer) [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, GenericError> [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(MetadataMigration::RecreateLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sample_counter_buildpack` (bin "sample_counter_buildpack") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "ac06a5811fe4a3b1ab836683ba3faf60612dc0bcebd290ea2f879eb85e88aa21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac06a5811fe4a3b1ab836683ba3faf60612dc0bcebd290ea2f879eb85e88aa21", kill_on_drop: false }` [INFO] [stdout] ac06a5811fe4a3b1ab836683ba3faf60612dc0bcebd290ea2f879eb85e88aa21