[INFO] fetching crate crate-deps 0.1.0... [INFO] checking crate-deps-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate crate-deps 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate crate-deps 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate crate-deps 0.1.0 [INFO] finished tweaking crates.io crate crate-deps 0.1.0 [INFO] tweaked toml for crates.io crate crate-deps 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a1285f070de7a6285154cef1ffe8793c33123ce596320f261cb527d9c18450c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3a1285f070de7a6285154cef1ffe8793c33123ce596320f261cb527d9c18450c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a1285f070de7a6285154cef1ffe8793c33123ce596320f261cb527d9c18450c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1285f070de7a6285154cef1ffe8793c33123ce596320f261cb527d9c18450c", kill_on_drop: false }` [INFO] [stdout] 3a1285f070de7a6285154cef1ffe8793c33123ce596320f261cb527d9c18450c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8fd7a5023836e804c8e88257a0c70e8dbd3c0292eeea26119aaa096e213de3a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8fd7a5023836e804c8e88257a0c70e8dbd3c0292eeea26119aaa096e213de3a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.25+1.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tiny_http v0.9.0 [INFO] [stderr] Checking smartstring v0.2.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking git2 v0.13.24 [INFO] [stderr] Checking crates-index v0.18.1 [INFO] [stderr] Checking crate-deps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `CratesIndex` in `crates_index` [INFO] [stdout] --> src/main.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let index = crates_index::CratesIndex::new(INDEX_LOCAL_PATH.into()); [INFO] [stdout] | ^^^^^^^^^^^ could not find `CratesIndex` in `crates_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerBuilder` in `tiny_http` [INFO] [stdout] --> src/main.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let server = tiny_http::ServerBuilder::new().with_port(port).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `ServerBuilder` in `tiny_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `CratesIndex` in `crates_index` [INFO] [stdout] --> src/main.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let index = crates_index::CratesIndex::new(INDEX_LOCAL_PATH.into()); [INFO] [stdout] | ^^^^^^^^^^^ could not find `CratesIndex` in `crates_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerBuilder` in `tiny_http` [INFO] [stdout] --> src/main.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | let server = tiny_http::ServerBuilder::new().with_port(port).build().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `ServerBuilder` in `tiny_http` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:121:43 [INFO] [stdout] | [INFO] [stdout] 121 | Response::from_string("").with_status_code(302) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StatusCode: From<{integer}>` found in the `tiny_http` crate: [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `Response::::with_status_code` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tiny_http-0.9.0/src/response.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | S: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::::with_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | Response::from_string(error).with_status_code(400) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StatusCode: From<{integer}>` found in the `tiny_http` crate: [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `Response::::with_status_code` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tiny_http-0.9.0/src/response.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | S: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::::with_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:121:43 [INFO] [stdout] | [INFO] [stdout] 121 | Response::from_string("").with_status_code(302) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StatusCode: From<{integer}>` found in the `tiny_http` crate: [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `Response::::with_status_code` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tiny_http-0.9.0/src/response.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | S: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::::with_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crate-deps` due to 5 previous errors [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | Response::from_string(error).with_status_code(400) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `StatusCode: From<{integer}>` found in the `tiny_http` crate: [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] - impl From for StatusCode; [INFO] [stdout] and 2 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] note: required by a bound in `Response::::with_status_code` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tiny_http-0.9.0/src/response.rs:304:12 [INFO] [stdout] | [INFO] [stdout] 304 | S: Into, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `Response::::with_status_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8fd7a5023836e804c8e88257a0c70e8dbd3c0292eeea26119aaa096e213de3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8fd7a5023836e804c8e88257a0c70e8dbd3c0292eeea26119aaa096e213de3a", kill_on_drop: false }` [INFO] [stdout] a8fd7a5023836e804c8e88257a0c70e8dbd3c0292eeea26119aaa096e213de3a