[INFO] fetching crate switchboard-container-utils 0.1.9... [INFO] testing switchboard-container-utils-0.1.9 against master#ff2c56344c764af598ad33027e9c7a48881808ef for pr-118825 [INFO] extracting crate switchboard-container-utils 0.1.9 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate switchboard-container-utils 0.1.9 on toolchain ff2c56344c764af598ad33027e9c7a48881808ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate switchboard-container-utils 0.1.9 [INFO] finished tweaking crates.io crate switchboard-container-utils 0.1.9 [INFO] tweaked toml for crates.io crate switchboard-container-utils 0.1.9 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate switchboard-container-utils 0.1.9 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" "+ff2c56344c764af598ad33027e9c7a48881808ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json_env_logger v0.1.1 [INFO] [stderr] Downloaded sval_fmt v2.6.1 [INFO] [stderr] Downloaded common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.65 [INFO] [stderr] Downloaded xattr v1.0.0 [INFO] [stderr] Downloaded data-encoding-macro v0.1.13 [INFO] [stderr] Downloaded quote v1.0.30 [INFO] [stderr] Downloaded ipfs-api-backend-hyper v0.6.0 [INFO] [stderr] Downloaded erased-serde v0.3.28 [INFO] [stderr] Downloaded hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Downloaded tokio-tar v0.3.1 [INFO] [stderr] Downloaded bollard-stubs v1.43.0-rc.2 [INFO] [stderr] Downloaded indexmap v2.0.1 [INFO] [stderr] Downloaded ipfs-api-prelude v0.6.0 [INFO] [stderr] Downloaded sval_dynamic v2.6.1 [INFO] [stderr] Downloaded sval_json v2.6.1 [INFO] [stderr] Downloaded sval v2.6.1 [INFO] [stderr] Downloaded sval_buffer v2.6.1 [INFO] [stderr] Downloaded bollard v0.15.0 [INFO] [stderr] Downloaded value-bag-serde1 v1.4.1 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.11 [INFO] [stderr] Downloaded sval_ref v2.6.1 [INFO] [stderr] Downloaded value-bag-sval2 v1.4.1 [INFO] [stderr] Downloaded sval_serde v2.6.1 [INFO] [stderr] Downloaded switchboard-common v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f29be1bdaf34d7abb7d17b7f17cef1e6e96d0c580e7c5cd1e5faeb97e4a08c3d [INFO] running `Command { std: "docker" "start" "-a" "f29be1bdaf34d7abb7d17b7f17cef1e6e96d0c580e7c5cd1e5faeb97e4a08c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f29be1bdaf34d7abb7d17b7f17cef1e6e96d0c580e7c5cd1e5faeb97e4a08c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f29be1bdaf34d7abb7d17b7f17cef1e6e96d0c580e7c5cd1e5faeb97e4a08c3d", kill_on_drop: false }` [INFO] [stdout] f29be1bdaf34d7abb7d17b7f17cef1e6e96d0c580e7c5cd1e5faeb97e4a08c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd21004a011b3710b0ab2c15c43c472dc7343618d5771ec152436b98f39429e [INFO] running `Command { std: "docker" "start" "-a" "bdd21004a011b3710b0ab2c15c43c472dc7343618d5771ec152436b98f39429e", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling quote v1.0.30 [INFO] [stderr] Compiling proc-macro2 v1.0.65 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling supports-color v2.0.0 [INFO] [stderr] Compiling supports-unicode v2.0.0 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling xattr v1.0.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling sgx-quote v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.4 [INFO] [stderr] Compiling serde_repr v0.1.14 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.11 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling data-encoding-macro v0.1.13 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling multihash v0.17.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-tar v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling multiaddr v0.17.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling ipfs-api-prelude v0.6.0 [INFO] [stderr] Compiling json_env_logger v0.1.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling bollard-stubs v1.43.0-rc.2 [INFO] [stderr] Compiling hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling ipfs-api-backend-hyper v0.6.0 [INFO] [stderr] Compiling switchboard-common v0.10.2 [INFO] [stderr] Compiling bollard v0.15.0 [INFO] [stderr] Compiling switchboard-container-utils v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.62s [INFO] running `Command { std: "docker" "inspect" "bdd21004a011b3710b0ab2c15c43c472dc7343618d5771ec152436b98f39429e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd21004a011b3710b0ab2c15c43c472dc7343618d5771ec152436b98f39429e", kill_on_drop: false }` [INFO] [stdout] bdd21004a011b3710b0ab2c15c43c472dc7343618d5771ec152436b98f39429e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95300f9b68367f664eb3a673e8e737a5e00d2266c671a547943f495e0ad1b89 [INFO] running `Command { std: "docker" "start" "-a" "a95300f9b68367f664eb3a673e8e737a5e00d2266c671a547943f495e0ad1b89", kill_on_drop: false }` [INFO] [stderr] Compiling switchboard-container-utils v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.51s [INFO] running `Command { std: "docker" "inspect" "a95300f9b68367f664eb3a673e8e737a5e00d2266c671a547943f495e0ad1b89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95300f9b68367f664eb3a673e8e737a5e00d2266c671a547943f495e0ad1b89", kill_on_drop: false }` [INFO] [stdout] a95300f9b68367f664eb3a673e8e737a5e00d2266c671a547943f495e0ad1b89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ff2c56344c764af598ad33027e9c7a48881808ef" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c76051693cf0bda8a6750ab214c60af97bb8fb835ef843c8b708eefdcf27412d [INFO] running `Command { std: "docker" "start" "-a" "c76051693cf0bda8a6750ab214c60af97bb8fb835ef843c8b708eefdcf27412d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/switchboard_container_utils-aae61bdb0b7857a8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests switchboard-container-utils [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/manager/mod.rs - manager::ContainerManager::get_active_containers (line 337) ... FAILED [INFO] [stdout] test src/manager/docker.rs - manager::docker::DockerManager (line 11) ... FAILED [INFO] [stdout] test src/manager/mod.rs - manager::ContainerManager (line 48) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/manager/mod.rs - manager::ContainerManager::get_active_containers (line 337) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `switchboard_container_utils::manager::Manager` [INFO] [stdout] --> src/manager/mod.rs:339:5 [INFO] [stdout] | [INFO] [stdout] 4 | use switchboard_container_utils::manager::Manager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `manager` [INFO] [stdout] | no `Manager` in `manager` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/manager/docker.rs - manager::docker::DockerManager (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/manager/docker.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 8 | let manager = Arc::new(DockerManager::new( [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/manager/docker.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(Docker::connect_with_unix_defaults().unwrap()), [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/manager/docker.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 10 | Some(Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use bollard::container::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use bollard::models::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use switchboard_container_utils::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_default_docker_config` in this scope [INFO] [stdout] --> src/manager/docker.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 11 | ..get_default_docker_config() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use switchboard_container_utils::get_default_docker_config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/manager/mod.rs - manager::ContainerManager (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/manager/mod.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 8 | let manager = Arc::new(DockerManager::new( [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc` [INFO] [stdout] --> src/manager/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 9 | Arc::new(Docker::connect_with_unix_defaults().unwrap()), [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/manager/mod.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 10 | Some(Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use bollard::container::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use bollard::models::Config; [INFO] [stdout] | [INFO] [stdout] 2 + use switchboard_container_utils::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_default_docker_config` in this scope [INFO] [stdout] --> src/manager/mod.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 11 | ..get_default_docker_config() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use switchboard_container_utils::get_default_docker_config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/manager/docker.rs - manager::docker::DockerManager (line 11) [INFO] [stdout] src/manager/mod.rs - manager::ContainerManager (line 48) [INFO] [stdout] src/manager/mod.rs - manager::ContainerManager::get_active_containers (line 337) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c76051693cf0bda8a6750ab214c60af97bb8fb835ef843c8b708eefdcf27412d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c76051693cf0bda8a6750ab214c60af97bb8fb835ef843c8b708eefdcf27412d", kill_on_drop: false }` [INFO] [stdout] c76051693cf0bda8a6750ab214c60af97bb8fb835ef843c8b708eefdcf27412d [INFO] testing switchboard-container-utils-0.1.9 against try#5e4273472e1b2f223618a9b3def795f6224f241d for pr-118825 [INFO] extracting crate switchboard-container-utils 0.1.9 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate switchboard-container-utils 0.1.9 on toolchain 5e4273472e1b2f223618a9b3def795f6224f241d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate switchboard-container-utils 0.1.9 [INFO] finished tweaking crates.io crate switchboard-container-utils 0.1.9 [INFO] tweaked toml for crates.io crate switchboard-container-utils 0.1.9 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate switchboard-container-utils 0.1.9 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" "+5e4273472e1b2f223618a9b3def795f6224f241d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6a7cf481e1f1f9a82feff04e2c76dd43583ed12a753c2cfb9c13f0d3e1c2175 [INFO] running `Command { std: "docker" "start" "-a" "e6a7cf481e1f1f9a82feff04e2c76dd43583ed12a753c2cfb9c13f0d3e1c2175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6a7cf481e1f1f9a82feff04e2c76dd43583ed12a753c2cfb9c13f0d3e1c2175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6a7cf481e1f1f9a82feff04e2c76dd43583ed12a753c2cfb9c13f0d3e1c2175", kill_on_drop: false }` [INFO] [stdout] e6a7cf481e1f1f9a82feff04e2c76dd43583ed12a753c2cfb9c13f0d3e1c2175 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5e4273472e1b2f223618a9b3def795f6224f241d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67b828d91021fc46f166db87b901bdd9a0eaad3e6a4ebb208c5f9d8416b889a9 [INFO] running `Command { std: "docker" "start" "-a" "67b828d91021fc46f166db87b901bdd9a0eaad3e6a4ebb208c5f9d8416b889a9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling quote v1.0.30 [INFO] [stderr] Compiling proc-macro2 v1.0.65 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling supports-color v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling supports-unicode v2.0.0 [INFO] [stderr] Compiling xattr v1.0.0 [INFO] [stderr] Compiling filetime v0.2.21 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/5e4273472e1b2f223618a9b3def795f6224f241d/bin/rustc --crate-name syn --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-2.0.32/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=1af842e916312a64 -C extra-filename=-1af842e916312a64 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-57380111408e2ba9.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-607fd202b58407c0.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-6587800c56594317.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/5e4273472e1b2f223618a9b3def795f6224f241d/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=d2461979bb85d508 -C extra-filename=-d2461979bb85d508 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-57380111408e2ba9.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-607fd202b58407c0.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-6587800c56594317.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "67b828d91021fc46f166db87b901bdd9a0eaad3e6a4ebb208c5f9d8416b889a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b828d91021fc46f166db87b901bdd9a0eaad3e6a4ebb208c5f9d8416b889a9", kill_on_drop: false }` [INFO] [stdout] 67b828d91021fc46f166db87b901bdd9a0eaad3e6a4ebb208c5f9d8416b889a9