[INFO] cloning repository https://github.com/nilinswap/hero-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilinswap/hero-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilinswap%2Fhero-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilinswap%2Fhero-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f0b4fa04cc355e03f47216dd505d2f6ae57854b [INFO] testing nilinswap/hero-api against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilinswap%2Fhero-api" "/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/nilinswap/hero-api on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilinswap/hero-api [INFO] finished tweaking git repo https://github.com/nilinswap/hero-api [INFO] tweaked toml for git repo https://github.com/nilinswap/hero-api written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/nilinswap/hero-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd4dd37732659f424d08ec18ab21169a6749352d908392932316b67427f7c901 [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" "dd4dd37732659f424d08ec18ab21169a6749352d908392932316b67427f7c901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd4dd37732659f424d08ec18ab21169a6749352d908392932316b67427f7c901", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd4dd37732659f424d08ec18ab21169a6749352d908392932316b67427f7c901", kill_on_drop: false }` [INFO] [stdout] dd4dd37732659f424d08ec18ab21169a6749352d908392932316b67427f7c901 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18f55e22821b3788425af2265d59a125f982aea335f052aac20fe416db17d63e [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" "18f55e22821b3788425af2265d59a125f982aea335f052aac20fe416db17d63e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling diesel v0.16.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling inotify v0.7.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling notify v4.0.17 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling derive-error-chain v0.10.1 [INFO] [stderr] Compiling diesel_infer_schema v0.16.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling dotenv v0.10.1 [INFO] [stderr] Compiling rocket_http v0.4.10 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling diesel_codegen v0.16.1 [INFO] [stderr] Compiling rocket_contrib v0.4.10 [INFO] [stderr] Compiling r2d2-diesel v1.0.0 [INFO] [stderr] Compiling hero-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `DATABASE_URL` not defined [INFO] [stdout] --> src/db.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | static DATABASE_URL: &'static str = env!("DATABASE_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/hero.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[table_name = "heroes"] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, AsChangeset, Queryable, Insertable)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hero-api` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "18f55e22821b3788425af2265d59a125f982aea335f052aac20fe416db17d63e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18f55e22821b3788425af2265d59a125f982aea335f052aac20fe416db17d63e", kill_on_drop: false }` [INFO] [stdout] 18f55e22821b3788425af2265d59a125f982aea335f052aac20fe416db17d63e