[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkelleyrtp%2Frustux" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jkelleyrtp/rustux on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.48 [INFO] [stderr] Downloaded yew v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.48 [INFO] [stderr] Downloaded proc-macro-hack v0.5.8 [INFO] [stderr] Downloaded yew-macro v0.7.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.48 [INFO] [stderr] Downloaded stdweb-internal-runtime v0.1.4 [INFO] [stderr] Downloaded stdweb-derive v0.5.1 [INFO] [stderr] Downloaded base-x v0.2.5 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.7 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.98 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.48 [INFO] [stderr] Downloaded cc v1.0.38 [INFO] [stderr] Downloaded backtrace v0.3.33 [INFO] [stderr] Downloaded bumpalo v2.5.0 [INFO] [stderr] Downloaded stdweb v0.4.18 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded http v0.1.18 [INFO] [stderr] Downloaded serde v1.0.98 [INFO] [stderr] Downloaded syn v0.15.42 [INFO] [stderr] Downloaded wasm-bindgen v0.2.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9047812e8551c5382514bcc20a6e7da102a1c2adc7989021e3be0324fcf7ba9d [INFO] running `Command { std: "docker" "start" "-a" "9047812e8551c5382514bcc20a6e7da102a1c2adc7989021e3be0324fcf7ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9047812e8551c5382514bcc20a6e7da102a1c2adc7989021e3be0324fcf7ba9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9047812e8551c5382514bcc20a6e7da102a1c2adc7989021e3be0324fcf7ba9d", kill_on_drop: false }` [INFO] [stdout] 9047812e8551c5382514bcc20a6e7da102a1c2adc7989021e3be0324fcf7ba9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c3e966c1a4eaca4521e57fb7fdf088bade5a759eb13ef4fcfc350f779a27d9 [INFO] running `Command { std: "docker" "start" "-a" "f1c3e966c1a4eaca4521e57fb7fdf088bade5a759eb13ef4fcfc350f779a27d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling base-x v0.2.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking discard v1.0.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling yew v0.7.0 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Compiling stdweb v0.4.18 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [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] Compiling yew-macro v0.7.0 [INFO] [stderr] Checking failure v0.1.5 [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: 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: 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[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] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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] [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1611: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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/macros/mod.rs:1611: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" "f1c3e966c1a4eaca4521e57fb7fdf088bade5a759eb13ef4fcfc350f779a27d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1c3e966c1a4eaca4521e57fb7fdf088bade5a759eb13ef4fcfc350f779a27d9", kill_on_drop: false }` [INFO] [stdout] f1c3e966c1a4eaca4521e57fb7fdf088bade5a759eb13ef4fcfc350f779a27d9