[INFO] cloning repository https://github.com/ic-news/ic-news-square
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ic-news/ic-news-square" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ae74561f936a51593f6313f9e8c0233feedc11e
[INFO] testing ic-news/ic-news-square against 1.98.0-beta.1 for beta-1.98-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fic-news%2Fic-news-square" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ic-news/ic-news-square
[INFO] finished tweaking git repo https://github.com/ic-news/ic-news-square
[INFO] tweaked toml for git repo https://github.com/ic-news/ic-news-square written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ic-news/ic-news-square on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ic-news/ic-news-square already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938
[INFO] running `Command { std: "docker" "start" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling psm v0.1.25
[INFO] [stderr]    Compiling stacker v0.1.20
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling ic-representation-independent-hash v3.0.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling ic-certification v3.0.3
[INFO] [stderr]    Compiling candid v0.10.13
[INFO] [stderr]    Compiling ic-http-certification v3.0.3
[INFO] [stderr]    Compiling ic-cdk-macros v0.16.0
[INFO] [stderr]    Compiling ic-cdk-macros v0.17.1
[INFO] [stderr]    Compiling ic-cdk v0.16.0
[INFO] [stderr]    Compiling ic-cdk v0.17.1
[INFO] [stderr]    Compiling ic-cdk-timers v0.10.0
[INFO] [stderr]    Compiling ic_news_square v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.67s
[INFO] running `Command { std: "docker" "inspect" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ic_news_square v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ic_news_square::utils::error_handler::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_news_square::models::error::{SquareError, SquareResult};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `ic_news_square` in this scope
[INFO] [stdout]  --> tests/error_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use ic_news_square::utils::error_monitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ic_news_square`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `ic_news_square`, use `cargo add ic_news_square` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ic_news_square::models::error::SquareError`, `ic_news_square::models::error::SquareResult`, `ic_news_square::utils::error_monitor`
[INFO] [stdout]  --> tests/error_test.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_news_square::models::error::{SquareError, SquareResult};
[INFO] [stdout]   |                                     ^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 2 | use ic_news_square::utils::error_handler::*;
[INFO] [stdout] 3 | use ic_news_square::utils::error_monitor;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `not_found_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let not_found = not_found_error("User", "user123", MODULE, FUNCTION);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `already_exists_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let already_exists = already_exists_error("Post", "post456", MODULE, FUNCTION);
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `unauthorized_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:23:24
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let unauthorized = unauthorized_error("Missing permissions", MODULE, FUNCTION);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validation_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let validation = validation_error("Title cannot be empty", MODULE, FUNCTION);
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `content_too_long_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:31:28
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let content_too_long = content_too_long_error("Comment", 500, 750, MODULE, FUNCTION);
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `invalid_operation_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:35:29
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let invalid_operation = invalid_operation_error(
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `system_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let system = system_error("Database connection failed", MODULE, FUNCTION);
[INFO] [stdout]    |                  ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `data_inconsistency_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:48:30
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let data_inconsistency = data_inconsistency_error(
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `resource_unavailable_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:58:32
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let resource_unavailable = resource_unavailable_error(
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rate_limit_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:67:22
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let rate_limit = rate_limit_error(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dependency_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:76:22
[INFO] [stdout]    |
[INFO] [stdout] 76 |     let dependency = dependency_error(
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `permission_denied_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:85:29
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let permission_denied = permission_denied_error(
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `service_unavailable_error` in this scope
[INFO] [stdout]   --> tests/error_test.rs:94:31
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let service_unavailable = service_unavailable_error(
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `quota_exceeded_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:103:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let quota_exceeded = quota_exceeded_error(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `resource_unavailable_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:123:26
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let resource_error = resource_unavailable_error(
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `rate_limit_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:133:22
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let rate_error = rate_limit_error(
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `service_unavailable_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:143:25
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let service_error = service_unavailable_error(
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `not_found_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:154:21
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let not_found = not_found_error("User", "user123", MODULE, FUNCTION);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `data_inconsistency_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let error = data_inconsistency_error(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `validation_error` in this scope
[INFO] [stdout]    --> tests/error_test.rs:209:17
[INFO] [stdout]     |
[INFO] [stdout] 209 |     let error = validation_error("Test monitoring error", MODULE, FUNCTION);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ic_news_square` (test "error_test") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938", kill_on_drop: false }`
[INFO] [stdout] 51388d8d5f8f4e671fb1037e69328acd83ff45755ce8808cf417100745a96938
