[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkelleyrtp%2Frustux" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkelleyrtp/rustux on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling v0.9.0 [INFO] [stderr] Downloaded base-x v0.2.5 [INFO] [stderr] Downloaded darling_macro v0.9.0 [INFO] [stderr] Downloaded darling_core v0.9.0 [INFO] [stderr] Downloaded stdweb v0.4.18 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded yew v0.7.0 [INFO] [stderr] Downloaded derive_builder_core v0.5.0 [INFO] [stderr] Downloaded yew-macro v0.7.0 [INFO] [stderr] Downloaded derive_builder v0.7.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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03566907b313ed5d298b6a69cf0f846dc5671e034ed1238a14dc09e10e4af76a [INFO] running `Command { std: "docker" "start" "-a" "03566907b313ed5d298b6a69cf0f846dc5671e034ed1238a14dc09e10e4af76a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03566907b313ed5d298b6a69cf0f846dc5671e034ed1238a14dc09e10e4af76a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03566907b313ed5d298b6a69cf0f846dc5671e034ed1238a14dc09e10e4af76a", kill_on_drop: false }` [INFO] [stdout] 03566907b313ed5d298b6a69cf0f846dc5671e034ed1238a14dc09e10e4af76a [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bf0cd8427e2c24c376bc7c2c2840bf87a23ddeb6254e3fdc162da9fd82b334c [INFO] running `Command { std: "docker" "start" "-a" "0bf0cd8427e2c24c376bc7c2c2840bf87a23ddeb6254e3fdc162da9fd82b334c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling sha1 v0.6.0 [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 semver v0.9.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling yew v0.7.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking backtrace v0.3.33 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling proc-macro-hack v0.5.8 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling yew-macro v0.7.0 [INFO] [stderr] Compiling darling_macro v0.9.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 (/opt/rustwide/workdir) [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> examples/othertest.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | fn homepage { self.router.set_view(Pages::Homepage) } [INFO] [stdout] | ^ help: add a parameter list [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] 20 | pub struct ActionHistory { [INFO] [stdout] | ------------- while parsing this struct [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] 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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustux` (example "two_pages") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustux` (example "apitest") due to 2 previous errors [INFO] [stdout] error: cannot find attribute `Derive` in this scope [INFO] [stdout] --> examples/othertest.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | #[ Derive (Routeable = "///aasd")] [INFO] [stdout] | ^^^^^^ help: an attribute macro with a similar name exists: `derive` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/macros/mod.rs:1612:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `derive` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `Derive` in this scope [INFO] [stdout] --> examples/othertest.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | #[ Derive (Routeable = "///aasd")] [INFO] [stdout] | ^^^^^^ help: an attribute macro with a similar name exists: `derive` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/macros/mod.rs:1612:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `derive` defined 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[E0424]: expected value, found module `self` [INFO] [stdout] --> examples/othertest.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | fn homepage { self.router.set_view(Pages::Homepage) } [INFO] [stdout] | -------- ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | | [INFO] [stdout] | this function doesn't have a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 25 | fn homepage { self.router.set_view(&selfPages::Homepage) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> examples/othertest.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | fn homepage2() { self.router.set_view(Pages::Homepage) } [INFO] [stdout] | --------- ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | | [INFO] [stdout] | this function doesn't have a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 28 | fn homepage2(&self) { self.router.set_view(Pages::Homepage) } [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0424`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustux` (example "othertest") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "0bf0cd8427e2c24c376bc7c2c2840bf87a23ddeb6254e3fdc162da9fd82b334c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf0cd8427e2c24c376bc7c2c2840bf87a23ddeb6254e3fdc162da9fd82b334c", kill_on_drop: false }` [INFO] [stdout] 0bf0cd8427e2c24c376bc7c2c2840bf87a23ddeb6254e3fdc162da9fd82b334c