[INFO] cloning repository https://github.com/jkelleyrtp/rustux [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkelleyrtp/rustux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkelleyrtp%2Frustux", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkelleyrtp%2Frustux'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d73c7734364875909ddff39d9bbf0da516648e82 [INFO] checking jkelleyrtp/rustux against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkelleyrtp%2Frustux" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkelleyrtp/rustux 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/jkelleyrtp/rustux [INFO] finished tweaking git repo https://github.com/jkelleyrtp/rustux [INFO] tweaked toml for git repo https://github.com/jkelleyrtp/rustux written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jkelleyrtp/rustux 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.5.8 [INFO] [stderr] Downloaded yew-macro v0.7.0 [INFO] [stderr] Downloaded yew v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 6fbe3f0d9f0fcd906625113d0a79eb18d04dbe05783d1e21142a71b9d630b08d [INFO] running `Command { std: "docker" "start" "-a" "6fbe3f0d9f0fcd906625113d0a79eb18d04dbe05783d1e21142a71b9d630b08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbe3f0d9f0fcd906625113d0a79eb18d04dbe05783d1e21142a71b9d630b08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbe3f0d9f0fcd906625113d0a79eb18d04dbe05783d1e21142a71b9d630b08d", kill_on_drop: false }` [INFO] [stdout] 6fbe3f0d9f0fcd906625113d0a79eb18d04dbe05783d1e21142a71b9d630b08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] 01cee265e8e965cf4afa773ca8aefe1f34d23e2e6afb2b012537a728a8e2240a [INFO] running `Command { std: "docker" "start" "-a" "01cee265e8e965cf4afa773ca8aefe1f34d23e2e6afb2b012537a728a8e2240a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] serde v1.0.98 (as host dependency): derive, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling yew v0.7.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking backtrace v0.3.33 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling proc-macro-hack v0.5.8 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling yew-macro v0.7.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Compiling stdweb-derive v0.5.1 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.7 [INFO] [stderr] Checking rustux v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/extensions/pwa.rs (3 fixes) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serve_yew_prerendered` [INFO] [stdout] --> src/extensions/ssr.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn serve_yew_prerendered() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nothing` [INFO] [stdout] --> src/extensions/ssr.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn nothing () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WebApplication` [INFO] [stdout] --> src/webapp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WebApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_yew_app` [INFO] [stdout] --> src/webapp.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn start_yew_app (&mut self) where T: Renderable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serve_yew_prerendered` [INFO] [stdout] --> src/extensions/ssr.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn serve_yew_prerendered() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nothing` [INFO] [stdout] --> src/extensions/ssr.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn nothing () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WebApplication` [INFO] [stdout] --> src/webapp.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct WebApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `start_yew_app` [INFO] [stdout] --> src/webapp.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn start_yew_app (&mut self) where T: Renderable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Extensions` should have a snake case name [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Extensions { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `extensions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Extensions` should have a snake case name [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Extensions { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `extensions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/othertest.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/test.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/components/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/two_pages/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/apitest.rs from 2018 edition to 2021 [INFO] [stdout] error: expected one of `(` or `<`, found `{` [INFO] [stdout] --> examples/othertest.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 22 | impl ApplicationState { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 25 | fn homepage { self.router.set_view(Pages::Homepage) } [INFO] [stdout] | ^ expected one of `(` or `<` [INFO] [stdout] ... [INFO] [stdout] 30 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `RustuxGlobal` in this scope [INFO] [stdout] --> examples/othertest.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[RustuxGlobal] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustux` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type `updates` should have an upper camel case name [INFO] [stdout] --> examples/test.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum updates { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Updates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment` [INFO] [stdout] --> examples/test.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn increment(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `two_pages` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `examples/two_pages/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: type `updates` should have an upper camel case name [INFO] [stdout] --> examples/components/app.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum updates { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Updates` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment` [INFO] [stdout] --> examples/components/app.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn increment(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> examples/components/app.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `new_webapp` [INFO] [stdout] --> examples/components/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn new_webapp() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> examples/components/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![recursion_limit="128"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> examples/components/app.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![recursion_limit="128"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: functions are not allowed in struct definitions [INFO] [stdout] --> examples/apitest.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / fn apply( ) { [INFO] [stdout] 22 | | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: unlike in C++, Java, and C#, functions are declared in `impl` blocks [INFO] [stdout] = help: see https://doc.rust-lang.org/book/ch05-03-method-syntax.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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" "01cee265e8e965cf4afa773ca8aefe1f34d23e2e6afb2b012537a728a8e2240a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01cee265e8e965cf4afa773ca8aefe1f34d23e2e6afb2b012537a728a8e2240a", kill_on_drop: false }` [INFO] [stdout] 01cee265e8e965cf4afa773ca8aefe1f34d23e2e6afb2b012537a728a8e2240a