[INFO] updating cached repository https://github.com/kijimaru/rocket-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 918fc82c6d638901d0ba82e9e7d0d8080126290e [INFO] checking kijimaru/rocket-api against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkijimaru%2Frocket-api" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kijimaru/rocket-api on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kijimaru/rocket-api [INFO] finished tweaking git repo https://github.com/kijimaru/rocket-api [INFO] tweaked toml for git repo https://github.com/kijimaru/rocket-api written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kijimaru/rocket-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bff04bf4aa6258653ce0c07f400e02b35e6f82553636cc7e672da2e8bba5696a [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" "bff04bf4aa6258653ce0c07f400e02b35e6f82553636cc7e672da2e8bba5696a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bff04bf4aa6258653ce0c07f400e02b35e6f82553636cc7e672da2e8bba5696a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bff04bf4aa6258653ce0c07f400e02b35e6f82553636cc7e672da2e8bba5696a", kill_on_drop: false }` [INFO] [stdout] bff04bf4aa6258653ce0c07f400e02b35e6f82553636cc7e672da2e8bba5696a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c07cd017f2c1c84979e2b50198e694d331b7df40650376744bde5614c39f3e [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" "49c07cd017f2c1c84979e2b50198e694d331b7df40650376744bde5614c39f3e", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling pear_codegen v0.1.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling rocket_codegen v0.4.2 [INFO] [stderr] Compiling rocket v0.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking inotify v0.6.1 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking mio-extras v2.0.5 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking notify v4.0.14 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.2 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking rocket_http v0.4.2 [INFO] [stderr] Checking rocket_contrib v0.4.2 [INFO] [stderr] Checking twitter-api-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;` or `{`, found `(` [INFO] [stdout] --> src/controller/tweet.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tweet(id: i64) -> Json( [INFO] [stdout] | ^ expected `;` or `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `::`, `;`, or `as`, found keyword `use` [INFO] [stdout] --> src/entity/tweet.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 4 | use infrastructure [INFO] [stdout] | - expected one of `::`, `;`, or `as` [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::infrastructure::db::schema:: [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` or `{`, found `(` [INFO] [stdout] --> src/controller/tweet.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tweet(id: i64) -> Json( [INFO] [stdout] | ^ expected `;` or `{` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `::`, `;`, or `as`, found keyword `use` [INFO] [stdout] --> src/entity/tweet.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 4 | use infrastructure [INFO] [stdout] | - expected one of `::`, `;`, or `as` [INFO] [stdout] 5 | [INFO] [stdout] 6 | use crate::infrastructure::db::schema:: [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::tweet::Tweet` [INFO] [stdout] --> src/entity/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::tweet::Tweet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Tweet` in `entity::tweet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/infrastructure/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/infrastructure/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0468, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `twitter-api-rocket`. [INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [stdout] error[E0432]: unresolved import `self::tweet::Tweet` [INFO] [stdout] --> src/entity/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use self::tweet::Tweet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `Tweet` in `entity::tweet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/infrastructure/db/schema.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `table` in this scope [INFO] [stdout] --> src/infrastructure/db/schema.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | table! { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: `macro` is experimental [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0468, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49c07cd017f2c1c84979e2b50198e694d331b7df40650376744bde5614c39f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c07cd017f2c1c84979e2b50198e694d331b7df40650376744bde5614c39f3e", kill_on_drop: false }` [INFO] [stdout] 49c07cd017f2c1c84979e2b50198e694d331b7df40650376744bde5614c39f3e