[INFO] cloning repository https://github.com/ASVBPREAUBV/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ASVBPREAUBV/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASVBPREAUBV%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASVBPREAUBV%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fca02fc9a9fa6677e6aada52d3c6d5a4bbbc4e85 [INFO] checking ASVBPREAUBV/rust-test against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FASVBPREAUBV%2Frust-test" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ASVBPREAUBV/rust-test on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ASVBPREAUBV/rust-test [INFO] finished tweaking git repo https://github.com/ASVBPREAUBV/rust-test [INFO] tweaked toml for git repo https://github.com/ASVBPREAUBV/rust-test written to /workspace/builds/worker-47/source/Cargo.toml [INFO] crate git repo https://github.com/ASVBPREAUBV/rust-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef3c0a139df2dcbe47439280a92b1e47f754b0bbc78abf065c42518f4a5a3373 [INFO] running `Command { std: "docker" "start" "-a" "ef3c0a139df2dcbe47439280a92b1e47f754b0bbc78abf065c42518f4a5a3373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef3c0a139df2dcbe47439280a92b1e47f754b0bbc78abf065c42518f4a5a3373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef3c0a139df2dcbe47439280a92b1e47f754b0bbc78abf065c42518f4a5a3373", kill_on_drop: false }` [INFO] [stdout] ef3c0a139df2dcbe47439280a92b1e47f754b0bbc78abf065c42518f4a5a3373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a41e7d14793d6d9fd41f6cfddbbfafb7d7e02953365a7820d47b4d84467b7df [INFO] running `Command { std: "docker" "start" "-a" "9a41e7d14793d6d9fd41f6cfddbbfafb7d7e02953365a7820d47b4d84467b7df", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking web-sys v0.3.45 [INFO] [stderr] Checking rust-test v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved imports `web_sys::Request`, `web_sys::RequestInit`, `web_sys::RequestMode`, `web_sys::Response` [INFO] [stdout] --> src/lib.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{Request, RequestInit, RequestMode, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ no `Response` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `RequestMode` in the root [INFO] [stdout] | | no `RequestInit` in the root [INFO] [stdout] | no `Request` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Branch` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let branch_info: Branch = json.into_serde().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch_with_request` found for struct `Window` in the current scope [INFO] [stdout] --> src/lib.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | let resp_value = JsFuture::from(window.fetch_with_request(&request)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `fetch_with_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_serde` found for struct `wasm_bindgen::JsValue` in the current scope [INFO] [stdout] --> src/lib.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(JsValue::from_serde(&branch_info).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `wasm_bindgen::JsValue` [INFO] [stdout] | help: there is an associated function with a similar name: `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::Request`, `web_sys::RequestInit`, `web_sys::RequestMode`, `web_sys::Response` [INFO] [stdout] --> src/lib.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{Request, RequestInit, RequestMode, Response}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ no `Response` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `RequestMode` in the root [INFO] [stdout] | | no `RequestInit` in the root [INFO] [stdout] | no `Request` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize` [INFO] [stdout] --> src/lib.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize` [INFO] [stdout] --> src/lib.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-test` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Branch` in this scope [INFO] [stdout] --> src/lib.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | let branch_info: Branch = json.into_serde().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fetch_with_request` found for struct `Window` in the current scope [INFO] [stdout] --> src/lib.rs:56:48 [INFO] [stdout] | [INFO] [stdout] 56 | let resp_value = JsFuture::from(window.fetch_with_request(&request)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `fetch_with_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_serde` found for struct `wasm_bindgen::JsValue` in the current scope [INFO] [stdout] --> src/lib.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | Ok(JsValue::from_serde(&branch_info).unwrap()) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `wasm_bindgen::JsValue` [INFO] [stdout] | help: there is an associated function with a similar name: `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [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" "9a41e7d14793d6d9fd41f6cfddbbfafb7d7e02953365a7820d47b4d84467b7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a41e7d14793d6d9fd41f6cfddbbfafb7d7e02953365a7820d47b4d84467b7df", kill_on_drop: false }` [INFO] [stdout] 9a41e7d14793d6d9fd41f6cfddbbfafb7d7e02953365a7820d47b4d84467b7df