[INFO] cloning repository https://github.com/mbr/container_registry-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbr/container_registry-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbr%2Fcontainer_registry-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbr%2Fcontainer_registry-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26d02aba877e4749a3ff7432ae58b50e149e9b88 [INFO] testing mbr/container_registry-rs against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbr%2Fcontainer_registry-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mbr/container_registry-rs [INFO] finished tweaking git repo https://github.com/mbr/container_registry-rs [INFO] tweaked toml for git repo https://github.com/mbr/container_registry-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mbr/container_registry-rs on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mbr/container_registry-rs 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 107f222a226de8f6aaa569bf2ca7fd6f1c212447e2794a168c87444beaef4dc6 [INFO] running `Command { std: "docker" "start" "-a" "107f222a226de8f6aaa569bf2ca7fd6f1c212447e2794a168c87444beaef4dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "107f222a226de8f6aaa569bf2ca7fd6f1c212447e2794a168c87444beaef4dc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107f222a226de8f6aaa569bf2ca7fd6f1c212447e2794a168c87444beaef4dc6", kill_on_drop: false }` [INFO] [stdout] 107f222a226de8f6aaa569bf2ca7fd6f1c212447e2794a168c87444beaef4dc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de9231fac016fa9536071e3de6393b53a94d64959f9f01d83e7c3918c8e5234a [INFO] running `Command { std: "docker" "start" "-a" "de9231fac016fa9536071e3de6393b53a94d64959f9f01d83e7c3918c8e5234a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling rm v0.3.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sec v1.0.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling container-registry v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Valid` is never constructed [INFO] [stdout] --> src/auth.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 247 | enum AnonCreds { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 251 | Valid(ValidCredentials), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonCreds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerManifest` is never constructed [INFO] [stdout] --> src/storage.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct LayerManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.65s [INFO] running `Command { std: "docker" "inspect" "de9231fac016fa9536071e3de6393b53a94d64959f9f01d83e7c3918c8e5234a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9231fac016fa9536071e3de6393b53a94d64959f9f01d83e7c3918c8e5234a", kill_on_drop: false }` [INFO] [stdout] de9231fac016fa9536071e3de6393b53a94d64959f9f01d83e7c3918c8e5234a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 156ebe9eac5f70c9d78dae6d84b0a2c63936aa1f236ca33db0fa00ffe7568ab9 [INFO] running `Command { std: "docker" "start" "-a" "156ebe9eac5f70c9d78dae6d84b0a2c63936aa1f236ca33db0fa00ffe7568ab9", kill_on_drop: false }` [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling container-registry v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Valid` is never constructed [INFO] [stdout] --> src/auth.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 247 | enum AnonCreds { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 251 | Valid(ValidCredentials), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonCreds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerManifest` is never constructed [INFO] [stdout] --> src/storage.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct LayerManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Valid` is never constructed [INFO] [stdout] --> src/auth.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 247 | enum AnonCreds { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 251 | Valid(ValidCredentials), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnonCreds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayerManifest` is never constructed [INFO] [stdout] --> src/storage.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct LayerManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.36s [INFO] running `Command { std: "docker" "inspect" "156ebe9eac5f70c9d78dae6d84b0a2c63936aa1f236ca33db0fa00ffe7568ab9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "156ebe9eac5f70c9d78dae6d84b0a2c63936aa1f236ca33db0fa00ffe7568ab9", kill_on_drop: false }` [INFO] [stdout] 156ebe9eac5f70c9d78dae6d84b0a2c63936aa1f236ca33db0fa00ffe7568ab9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de44ab4a1cb079c956cf3dc09ae7a5dd1dad006c4348dab62c16bc483ce8fd12 [INFO] running `Command { std: "docker" "start" "-a" "de44ab4a1cb079c956cf3dc09ae7a5dd1dad006c4348dab62c16bc483ce8fd12", kill_on_drop: false }` [INFO] [stderr] warning: variant `Valid` is never constructed [INFO] [stderr] --> src/auth.rs:251:5 [INFO] [stderr] | [INFO] [stderr] 247 | enum AnonCreds { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 251 | Valid(ValidCredentials), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnonCreds` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `LayerManifest` is never constructed [INFO] [stderr] --> src/storage.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | struct LayerManifest { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `container-registry` (lib) generated 2 warnings [INFO] [stderr] warning: `container-registry` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/container_registry-a13fc3493d6ea558) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test types::tests::simple_example_schema_parse ... ok [INFO] [stdout] test www_authenticate::tests::can_parse_known_response ... ok [INFO] [stdout] test tests::allows_anon_access_if_configured ... ok [INFO] [stdout] test tests::missing_manifest_returns_404 ... ok [INFO] [stdout] test tests::refuses_access_without_valid_credentials ... ok [INFO] [stdout] test tests::image_download ... ok [INFO] [stdout] test tests::anonymous_upload ... ok [INFO] [stdout] test tests::chunked_upload ... ok [INFO] [stdout] test tests::run_in_background_in_sync_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Doc-tests container_registry [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 37) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de44ab4a1cb079c956cf3dc09ae7a5dd1dad006c4348dab62c16bc483ce8fd12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de44ab4a1cb079c956cf3dc09ae7a5dd1dad006c4348dab62c16bc483ce8fd12", kill_on_drop: false }` [INFO] [stdout] de44ab4a1cb079c956cf3dc09ae7a5dd1dad006c4348dab62c16bc483ce8fd12