[INFO] cloning repository https://github.com/vapvin/Rocket-Boilerplate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vapvin/Rocket-Boilerplate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvapvin%2FRocket-Boilerplate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvapvin%2FRocket-Boilerplate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50accc81da619e325cf78fabefe7219764dc8c08 [INFO] checking vapvin/Rocket-Boilerplate against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvapvin%2FRocket-Boilerplate" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vapvin/Rocket-Boilerplate on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vapvin/Rocket-Boilerplate [INFO] finished tweaking git repo https://github.com/vapvin/Rocket-Boilerplate [INFO] tweaked toml for git repo https://github.com/vapvin/Rocket-Boilerplate written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/vapvin/Rocket-Boilerplate already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.78 [INFO] [stderr] Downloaded rocket_contrib_codegen v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f5e5d7e586cba41da062dd52b603f4e70874388347d86f2567dd2e4db0e2419 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6f5e5d7e586cba41da062dd52b603f4e70874388347d86f2567dd2e4db0e2419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f5e5d7e586cba41da062dd52b603f4e70874388347d86f2567dd2e4db0e2419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5e5d7e586cba41da062dd52b603f4e70874388347d86f2567dd2e4db0e2419", kill_on_drop: false }` [INFO] [stdout] 6f5e5d7e586cba41da062dd52b603f4e70874388347d86f2567dd2e4db0e2419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c06c7ac6e95d88b60cfdd77e9cbe06aa3eb9451ff3c094527477ddb9d7edfa4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c06c7ac6e95d88b60cfdd77e9cbe06aa3eb9451ff3c094527477ddb9d7edfa4", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Checking subtle v2.3.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.58 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking rocket-boilerplate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: an inner attribute is not permitted in this context [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(decl_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: an inner attribute is not permitted in this context [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(decl_macro)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner attributes, like `#![no_std]`, annotate the item enclosing them, and are usually found at the beginning of source files. Outer attributes, like `#[test]`, annotate the item following them. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 77 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 1 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 77 | fn main() { [INFO] [stdout] | ^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[post("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[put("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | #[post("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | #[put("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #39412 for more information [INFO] [stdout] = help: add `#![feature(decl_macro)]` to the crate attributes to enable [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0136]: multiple `main` functions [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / fn main() { [INFO] [stdout] 78 | | rocket::ignite() [INFO] [stdout] 79 | | .attach(DbConn::fairing()) [INFO] [stdout] 80 | | .mount("/hello", routes![hello, hello_name]) [INFO] [stdout] 81 | | .mount("/todos", routes![get_todos, create_todo, check_todo]) [INFO] [stdout] 82 | | .launch(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0136]: multiple `main` functions [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / fn main() { [INFO] [stdout] 78 | | rocket::ignite() [INFO] [stdout] 79 | | .attach(DbConn::fairing()) [INFO] [stdout] 80 | | .mount("/hello", routes![hello, hello_name]) [INFO] [stdout] 81 | | .mount("/todos", routes![get_todos, create_todo, check_todo]) [INFO] [stdout] 82 | | .launch(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0136, E0428, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0136`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0136, E0428, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0136`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket-boilerplate` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8c06c7ac6e95d88b60cfdd77e9cbe06aa3eb9451ff3c094527477ddb9d7edfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c06c7ac6e95d88b60cfdd77e9cbe06aa3eb9451ff3c094527477ddb9d7edfa4", kill_on_drop: false }` [INFO] [stdout] 8c06c7ac6e95d88b60cfdd77e9cbe06aa3eb9451ff3c094527477ddb9d7edfa4