[INFO] updating cached repository https://github.com/lochetti/portfolio-tracker
[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] 5dfa3c27ab966cd035410cb45664d5cd4d13dbeb
[INFO] testing lochetti/portfolio-tracker against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flochetti%2Fportfolio-tracker" "/workspace/builds/worker-14/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/lochetti/portfolio-tracker on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/lochetti/portfolio-tracker
[INFO] finished tweaking git repo https://github.com/lochetti/portfolio-tracker
[INFO] tweaked toml for git repo https://github.com/lochetti/portfolio-tracker written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/lochetti/portfolio-tracker already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8eee1e64ba8e3016de108dfc172361b8e71febc89d2ace04f0991f959a8a8593
[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" "8eee1e64ba8e3016de108dfc172361b8e71febc89d2ace04f0991f959a8a8593", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8eee1e64ba8e3016de108dfc172361b8e71febc89d2ace04f0991f959a8a8593", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eee1e64ba8e3016de108dfc172361b8e71febc89d2ace04f0991f959a8a8593", kill_on_drop: false }`
[INFO] [stdout] 8eee1e64ba8e3016de108dfc172361b8e71febc89d2ace04f0991f959a8a8593
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 840b53eb270638afcf84c20bcf68dd6e5e01077623ac265c8e35d9c53f2a9c3c
[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" "840b53eb270638afcf84c20bcf68dd6e5e01077623ac265c8e35d9c53f2a9c3c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.122
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling tower-layer v0.3.1
[INFO] [stderr]    Compiling http-range-header v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.1
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling tracing-core v0.1.24
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling libsqlite3-sys v0.23.2
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling sqlx-rt v0.5.11
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling axum-core v0.2.1
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling sqlx-core v0.5.11
[INFO] [stderr]    Compiling sqlx-macros v0.5.11
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling tower v0.4.12
[INFO] [stderr]    Compiling tower-http v0.2.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling bigdecimal v0.3.0
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling sqlx v0.5.11
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling axum v0.5.1
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling portfolio-tracker v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 14 | |         r#"
[INFO] [stdout] 15 | |         INSERT INTO trades ( ticker, date, type, amount, price )
[INFO] [stdout] 16 | |         VALUES ( ?1, ?2, ?3, ?4, ?5 )
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |         trade.price
[INFO] [stdout] 23 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |       Ok(sqlx::query_as!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 40 | |         ListTrade,
[INFO] [stdout] 41 | |         r#"
[INFO] [stdout] 42 | |         SELECT id, ticker, date, type, amount, price FROM trades
[INFO] [stdout] 43 | |         "#,
[INFO] [stdout] 44 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 60 | |         r#"
[INFO] [stdout] 61 | |         SELECT date, amount, ticker FROM trades ORDER BY date asc
[INFO] [stdout] 62 | |         "#,
[INFO] [stdout] 63 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]   --> src/trade.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |       Ok(sqlx::query!(
[INFO] [stdout]    |  ________^
[INFO] [stdout] 77 | |         r#"
[INFO] [stdout] 78 | |         DELETE FROM trades WHERE id = ?1
[INFO] [stdout] 79 | |         "#,
[INFO] [stdout] 80 | |         trade_id
[INFO] [stdout] 81 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |           let last_ticker_date = sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 154 | |             LastPriceDate,
[INFO] [stdout] 155 | |             r#"
[INFO] [stdout] 156 | |         SELECT date from prices where ticker = ?1 ORDER BY date desc limit 1
[INFO] [stdout] 157 | |         "#,
[INFO] [stdout] 158 | |             ticker,
[INFO] [stdout] 159 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 | /             sqlx::query!(
[INFO] [stdout] 191 | |                 r#"
[INFO] [stdout] 192 | |             INSERT INTO prices ( ticker, date, price )
[INFO] [stdout] 193 | |             VALUES ( ?1, ?2, ?3 )
[INFO] [stdout] ...   |
[INFO] [stdout] 197 | |                 val.price
[INFO] [stdout] 198 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:218:32
[INFO] [stdout]     |
[INFO] [stdout] 218 |       let list_of_prices = match sqlx::query_as!(
[INFO] [stdout]     |  ________________________________^
[INFO] [stdout] 219 | |         ListPricesResponse,
[INFO] [stdout] 220 | |         r#"
[INFO] [stdout] 221 | |         SELECT id, ticker, date, price FROM prices ORDER by date asc
[INFO] [stdout] 222 | |         "#,
[INFO] [stdout] 223 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:235:18
[INFO] [stdout]     |
[INFO] [stdout] 235 |       return match sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 236 | |         r#"
[INFO] [stdout] 237 | |         DELETE FROM prices
[INFO] [stdout] 238 | |         "#
[INFO] [stdout] 239 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `DATABASE_URL` must be set to use query macros
[INFO] [stdout]    --> src/main.rs:303:41
[INFO] [stdout]     |
[INFO] [stdout] 303 |       let prices: Vec<DailyPrice> = match sqlx::query!(
[INFO] [stdout]     |  _________________________________________^
[INFO] [stdout] 304 | |         r#"
[INFO] [stdout] 305 | |         SELECT date, price, ticker FROM prices ORDER BY date asc
[INFO] [stdout] 306 | |         "#,
[INFO] [stdout] 307 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `portfolio-tracker` due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "840b53eb270638afcf84c20bcf68dd6e5e01077623ac265c8e35d9c53f2a9c3c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "840b53eb270638afcf84c20bcf68dd6e5e01077623ac265c8e35d9c53f2a9c3c", kill_on_drop: false }`
[INFO] [stdout] 840b53eb270638afcf84c20bcf68dd6e5e01077623ac265c8e35d9c53f2a9c3c
