[INFO] cloning repository https://github.com/Darrenmeehan/photos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darrenmeehan/photos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fphotos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fphotos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8817467cd16f9d6efcda2e35a827468df125b7dd [INFO] checking Darrenmeehan/photos against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fphotos" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darrenmeehan/photos 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/Darrenmeehan/photos [INFO] finished tweaking git repo https://github.com/Darrenmeehan/photos [INFO] tweaked toml for git repo https://github.com/Darrenmeehan/photos written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Darrenmeehan/photos 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] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.13 [INFO] [stderr] Downloaded gloo-console-timer v0.1.0 [INFO] [stderr] Downloaded syn v1.0.27 [INFO] [stderr] Downloaded yew v0.16.2 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.12 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.12 [INFO] [stderr] Downloaded yew-macro v0.16.1 [INFO] [stderr] Downloaded cfg-match v0.2.1 [INFO] [stderr] Downloaded web-sys v0.3.40 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded gloo v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 29d9c21ffc13cdaed422d7dfb9977f7c0bddd69e2654df983fd65da21c1dd436 [INFO] running `Command { std: "docker" "start" "-a" "29d9c21ffc13cdaed422d7dfb9977f7c0bddd69e2654df983fd65da21c1dd436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d9c21ffc13cdaed422d7dfb9977f7c0bddd69e2654df983fd65da21c1dd436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d9c21ffc13cdaed422d7dfb9977f7c0bddd69e2654df983fd65da21c1dd436", kill_on_drop: false }` [INFO] [stdout] 29d9c21ffc13cdaed422d7dfb9977f7c0bddd69e2654df983fd65da21c1dd436 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] dd529850de3a43317b51839fb4a0cbafc0b6da99d6f1f28df07eecd32aea157a [INFO] running `Command { std: "docker" "start" "-a" "dd529850de3a43317b51839fb4a0cbafc0b6da99d6f1f28df07eecd32aea157a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] warning: Found `debug_assertions` in `target.'cfg(...)'.dependencies`. This value is not supported for selecting dependencies and will not work as expected. To learn more visit https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#platform-specific-dependencies [INFO] [stderr] Compiling proc-macro2 v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.27 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.63 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bumpalo v3.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.63 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling yew v0.16.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.12 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.63 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.63 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling yew-macro v0.16.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.63 [INFO] [stderr] Checking thiserror v1.0.16 [INFO] [stderr] Checking js-sys v0.3.40 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking web-sys v0.3.40 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.13 [INFO] [stderr] Checking wasm-bindgen-test v0.3.12 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking photos v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/app.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: function is never used: `get_sample_photos` [INFO] [stdout] --> src/lib.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_sample_photos() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Photo` [INFO] [stdout] --> src/lib.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Photo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Item` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^ associated type `Item` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Error` not found for `futures::Future` [INFO] [stdout] --> tests/app.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | ^^^^^ associated type `Error` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/app.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(x, 42); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Result`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found type `{integer}` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `::Output == ()` [INFO] [stdout] --> tests/app.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[wasm_bindgen_test(async)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected associated type, found `()` [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | --------------------------------------- the expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected associated type `::Output` [INFO] [stdout] found unit type `()` [INFO] [stdout] = help: consider constraining the associated type `::Output` to `()` or calling a method that returns `::Output` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider constraining the associated type `::Output` to `()` [INFO] [stdout] | [INFO] [stdout] 25 | fn async_test() -> impl Future { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0271, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `photos` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `get_sample_photos` [INFO] [stdout] --> src/lib.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn get_sample_photos() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Photo` [INFO] [stdout] --> src/lib.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | struct Photo { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [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" "dd529850de3a43317b51839fb4a0cbafc0b6da99d6f1f28df07eecd32aea157a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd529850de3a43317b51839fb4a0cbafc0b6da99d6f1f28df07eecd32aea157a", kill_on_drop: false }` [INFO] [stdout] dd529850de3a43317b51839fb4a0cbafc0b6da99d6f1f28df07eecd32aea157a