[INFO] updating cached repository https://github.com/tegapp/user-profile-server [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] dfbd36d47a03be3023b5651b93fbbf40cdd1deb5 [INFO] testing tegapp/user-profile-server against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftegapp%2Fuser-profile-server" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tegapp/user-profile-server on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tegapp/user-profile-server [INFO] finished tweaking git repo https://github.com/tegapp/user-profile-server [INFO] tweaked toml for git repo https://github.com/tegapp/user-profile-server written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/tegapp/user-profile-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5995374cb1c36d88698dc633046e03f11400c7968fca57f77c84e627685e7f08 [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" "5995374cb1c36d88698dc633046e03f11400c7968fca57f77c84e627685e7f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5995374cb1c36d88698dc633046e03f11400c7968fca57f77c84e627685e7f08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5995374cb1c36d88698dc633046e03f11400c7968fca57f77c84e627685e7f08", kill_on_drop: false }` [INFO] [stdout] 5995374cb1c36d88698dc633046e03f11400c7968fca57f77c84e627685e7f08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 575a0e49de82290b903c9a0c4c909ded893db922665e0d3aada1b87b39ee2415 [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" "575a0e49de82290b903c9a0c4c909ded893db922665e0d3aada1b87b39ee2415", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling isahc v0.8.2 [INFO] [stderr] Compiling standback v0.2.1 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling consistenttime v0.2.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.3 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling bcrypt v0.6.2 [INFO] [stderr] Compiling gravatar v0.2.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.13 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.26 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.3.4 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.13 [INFO] [stderr] Compiling proc-macro-error v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling sluice v0.5.2 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling juniper_codegen v0.14.2 (https://github.com/graphql-rust/juniper#6e4bc127) [INFO] [stderr] Compiling http-client v1.1.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling sqlx-core v0.3.0-alpha.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling surf v2.0.0-alpha.0 [INFO] [stderr] Compiling frank_jwt v3.1.2 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling juniper v0.14.2 (https://github.com/graphql-rust/juniper#6e4bc127) [INFO] [stderr] Compiling sqlx-macros v0.3.0-alpha.2 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling warp v0.2.2 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling sqlx v0.3.0-alpha.2 [INFO] [stderr] Compiling user-profile-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/user/authorize_user.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 30 | | User, [INFO] [stdout] 31 | | "SELECT * FROM users WHERE firebase_uid=$1", [INFO] [stdout] 32 | | firebase_uid, [INFO] [stdout] 33 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/user/authorize_user.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | let _ = sqlx::query_as!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 44 | | User, [INFO] [stdout] 45 | | " [INFO] [stdout] 46 | | UPDATE users [INFO] [stdout] ... | [INFO] [stdout] 55 | | payload.email_verified [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/user/authorize_user.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / sqlx::query_as!( [INFO] [stdout] 66 | | User, [INFO] [stdout] 67 | | " [INFO] [stdout] 68 | | INSERT INTO users (firebase_uid, email, email_verified) [INFO] [stdout] ... | [INFO] [stdout] 74 | | payload.email_verified [INFO] [stdout] 75 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/machine/create_machine.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let machine = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 16 | | Machine, [INFO] [stdout] 17 | | " [INFO] [stdout] 18 | | INSERT INTO machines (user_id, public_key, name, slug) [INFO] [stdout] ... | [INFO] [stdout] 28 | | input.slug [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/machine/set_machine_name.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let machine = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 19 | | Machine, [INFO] [stdout] 20 | | " [INFO] [stdout] 21 | | UPDATE machines [INFO] [stdout] ... | [INFO] [stdout] 28 | | input.name [INFO] [stdout] 29 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/machine/remove_machine.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / sqlx::query!( [INFO] [stdout] 7 | | " [INFO] [stdout] 8 | | DELETE FROM machines WHERE user_id = $1 AND id = $2 [INFO] [stdout] 9 | | ", [INFO] [stdout] 10 | | user_id, [INFO] [stdout] 11 | | machine_id.parse::().chain_err(|| "Invalid machine id")? [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/machine/my_machines.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / sqlx::query_as!( [INFO] [stdout] 11 | | Machine, [INFO] [stdout] 12 | | "SELECT * FROM machines WHERE user_id=$1 AND slug=$2", [INFO] [stdout] 13 | | user_id, [INFO] [stdout] 14 | | slug [INFO] [stdout] 15 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/machine/my_machines.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / sqlx::query_as!( [INFO] [stdout] 22 | | Machine, [INFO] [stdout] 23 | | "SELECT * FROM machines WHERE user_id=$1", [INFO] [stdout] 24 | | user_id [INFO] [stdout] 25 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/user/authorize_user.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ Context, ResultExt, unauthorized }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/machine/create_machine.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ Context, ResultExt, unauthorized }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/machine/set_machine_name.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ResultExt, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/machine/remove_machine.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ Context, ResultExt, unauthorized }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::TryStreamExt` [INFO] [stdout] --> src/machine/my_machines.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures_util::stream::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResultExt` [INFO] [stdout] --> src/machine/my_machines.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ Context, ResultExt, unauthorized }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `user-profile-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "575a0e49de82290b903c9a0c4c909ded893db922665e0d3aada1b87b39ee2415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575a0e49de82290b903c9a0c4c909ded893db922665e0d3aada1b87b39ee2415", kill_on_drop: false }` [INFO] [stdout] 575a0e49de82290b903c9a0c4c909ded893db922665e0d3aada1b87b39ee2415