[INFO] cloning repository https://github.com/AhmedOsman001/decentralized-lms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AhmedOsman001/decentralized-lms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmedOsman001%2Fdecentralized-lms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmedOsman001%2Fdecentralized-lms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a058bd51cd48e48a3127ebe252ab95ca119a358d
[INFO] testing AhmedOsman001/decentralized-lms against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAhmedOsman001%2Fdecentralized-lms" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AhmedOsman001/decentralized-lms
[INFO] finished tweaking git repo https://github.com/AhmedOsman001/decentralized-lms
[INFO] tweaked toml for git repo https://github.com/AhmedOsman001/decentralized-lms written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AhmedOsman001/decentralized-lms on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AhmedOsman001/decentralized-lms 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-cdk-executor v0.1.0
[INFO] [stderr]   Downloaded ic0 v0.23.0
[INFO] [stderr]   Downloaded ic-cdk v0.13.6
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded ic-stable-structures v0.6.9
[INFO] [stderr]   Downloaded candid v0.10.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc1d262270810cefb360563acf157e43f45a11ad900fe2ff85cf6a6ad63e6811
[INFO] running `Command { std: "docker" "start" "-a" "cc1d262270810cefb360563acf157e43f45a11ad900fe2ff85cf6a6ad63e6811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc1d262270810cefb360563acf157e43f45a11ad900fe2ff85cf6a6ad63e6811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc1d262270810cefb360563acf157e43f45a11ad900fe2ff85cf6a6ad63e6811", kill_on_drop: false }`
[INFO] [stdout] cc1d262270810cefb360563acf157e43f45a11ad900fe2ff85cf6a6ad63e6811
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5395126168a7c06bb630fbd18c0d582ba62236d7b38cfaf6628d74af37ac1e59
[INFO] running `Command { std: "docker" "start" "-a" "5395126168a7c06bb630fbd18c0d582ba62236d7b38cfaf6628d74af37ac1e59", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ic-cdk-executor v0.1.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling router_canister v0.1.0 (/opt/rustwide/workdir/src/router_canister)
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr] warning: router_canister@0.1.0: Tenant WASM not found at ../../.dfx/local/canisters/tenant_canister/tenant_canister.wasm, using placeholder
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling ic-stable-structures v0.6.9
[INFO] [stderr]    Compiling candid v0.10.14
[INFO] [stderr]    Compiling ic-cdk-macros v0.13.2
[INFO] [stderr]    Compiling ic-cdk v0.13.6
[INFO] [stderr]    Compiling shared v0.1.0 (/opt/rustwide/workdir/src/shared)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/user.rs:167:17
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/user.rs:180:17
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/shared/src/course.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/shared/src/course.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/shared/src/quiz.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/shared/src/quiz.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/shared/src/grade.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 44 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/pre_provision.rs:221:17
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 221 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/file_storage.rs:136:17
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 136 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/file_storage.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 151 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/file_storage.rs:166:17
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/file_storage.rs:181:17
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/shared/src/file_storage.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]     |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 196 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tenant_canister v0.1.0 (/opt/rustwide/workdir/src/tenant_canister)
[INFO] [stdout] warning: unused import: `validate_quiz_data`
[INFO] [stdout]   --> src/tenant_canister/src/quiz/mod.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use validation::{validate_quiz_data};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `analytics::QuestionAnalytics`, `analytics::QuizAnalytics`, and `analytics::ScoreDistribution`
[INFO] [stdout]  --> src/tenant_canister/src/quiz_management.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     analytics::QuizAnalytics,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     analytics::ScoreDistribution,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     analytics::QuestionAnalytics,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/router_canister/src/types.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/tmp/rustc4RGedi/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc4RGedi/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liburl-df6ff25a38808c6b.rlib,libidna-7124c7ea49f92a94.rlib,libutf8_iter-23d7e85373f6cff1.rlib,libidna_adapter-89ac8a7a7b50eb5e.rlib,libicu_properties-58839a80f2a23a76.rlib,libicu_properties_data-2ff4c98b5f91b381.rlib,libicu_normalizer-a5c45b8741aea490.rlib,libsmallvec-9462b893b7c989aa.rlib,libicu_normalizer_data-51f5af7947461fb6.rlib,libicu_collections-7a2e55e60d3acdf9.rlib,libpotential_utf-f22a649822e1352d.rlib,libicu_provider-d818fbf45053d375.rlib,libicu_locale_core-7420013822c32c7c.rlib,libtinystr-7d57c7fc7fda5e2b.rlib,liblitemap-95389c7adfc4172d.rlib,libwriteable-e747b787dd5e48b1.rlib,libzerovec-aed8be68be7f7217.rlib,libzerotrie-d2b56a7584076139.rlib,libyoke-b2ea1a4f7274e0ca.rlib,libstable_deref_trait-103cc0cf99022c91.rlib,libzerofrom-aedd9e2afbbe0457.rlib,libform_urlencoded-ae36426bf9365e6f.rlib,libpercent_encoding-6e002e2d9eed0232.rlib,libshared-e54d2822a4fad0e4.rlib,libic_cdk-619e9e346ad1760e.rlib,libic_cdk_executor-f791652be542c2ca.rlib,libic0-34aeb837c82777a3.rlib,libic_stable_structures-948f800395c19bb5.rlib,libcandid-4563ee50da26fffc.rlib,libstacker-852cdfd0149b0075.rlib,libpsm-25035c9cdc0f3327.rlib,liblibc-e47cec22dfe56901.rlib,libhex-f8780b52ba33bd3a.rlib,libserde_bytes-ea5e8b9d3cc7c8af.rlib,libpretty-8199937856f50fc3.rlib,libunicode_width-5f9d6aea9e09c726.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-6bb12dffd5e1b12b.rlib,libic_principal-34e56c4aa42746f9.rlib,libcrc32fast-fd7f45bdc99e8bad.rlib,libdata_encoding-a6d8ad4c201ac385.rlib,libsha2-97965b33c7c6ea3e.rlib,libcpufeatures-a8fab4ccf6ae776a.rlib,libcfg_if-8fc24d1d815f10d3.rlib,libdigest-65e807ebc09615f5.rlib,libblock_buffer-deea5e7f811bc6ed.rlib,libcrypto_common-d4d519b34780d230.rlib,libgeneric_array-041f47a18332f292.rlib,libtypenum-a93b7f31aa28f35a.rlib,libnum_bigint-1b1616eb5d43cc8e.rlib,libnum_integer-aab1d933807a52f9.rlib,libnum_traits-8f2fa4671cabfc7c.rlib,libanyhow-07471542712fc6e3.rlib,libbinread-4659daa24ae1a219.rlib,liblazy_static-5f41077b1fb4f2c7.rlib,libthiserror-0d94f6e7001b4f9a.rlib,libserde-d23f2469e50c5f9c.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc4RGedi/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-cc4b9980a99598e4/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/librouter_canister.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /tmp/rustc4RGedi/list:4: ; expected, but got __get_candid_interface_tmp_hack
[INFO] [stdout]           >>>     canister_query __get_candid_interface_tmp_hack;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `validate` are never used
[INFO] [stdout]   --> src/tenant_canister/src/grade/weights.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl GradeWeights {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 31 |     /// Create a new GradeWeights configuration
[INFO] [stdout] 32 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn validate(&self) -> Result<(), String> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/tenant_canister/src/types.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: router_canister@0.1.0: Tenant WASM not found at ../../.dfx/local/canisters/tenant_canister/tenant_canister.wasm, using placeholder
[INFO] [stderr] error: could not compile `router_canister` (lib) due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-Wl,--version-script=/tmp/rustc4vt7Hv/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc4vt7Hv/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-b7d5b9bc81b219e8.rlib,libmemchr-2fae0a77432c768d.rlib,libitoa-a56f380555f0f52c.rlib,libryu-f0a9e3af1c01c3d4.rlib,libshared-e54d2822a4fad0e4.rlib,libic_cdk-619e9e346ad1760e.rlib,libic_cdk_executor-f791652be542c2ca.rlib,libic0-34aeb837c82777a3.rlib,libic_stable_structures-948f800395c19bb5.rlib,libcandid-4563ee50da26fffc.rlib,libstacker-852cdfd0149b0075.rlib,libpsm-25035c9cdc0f3327.rlib,liblibc-e47cec22dfe56901.rlib,libhex-f8780b52ba33bd3a.rlib,libserde_bytes-ea5e8b9d3cc7c8af.rlib,libpretty-8199937856f50fc3.rlib,libunicode_width-5f9d6aea9e09c726.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-6bb12dffd5e1b12b.rlib,libic_principal-34e56c4aa42746f9.rlib,libcrc32fast-fd7f45bdc99e8bad.rlib,libdata_encoding-a6d8ad4c201ac385.rlib,libsha2-97965b33c7c6ea3e.rlib,libcpufeatures-a8fab4ccf6ae776a.rlib,libcfg_if-8fc24d1d815f10d3.rlib,libdigest-65e807ebc09615f5.rlib,libblock_buffer-deea5e7f811bc6ed.rlib,libcrypto_common-d4d519b34780d230.rlib,libgeneric_array-041f47a18332f292.rlib,libtypenum-a93b7f31aa28f35a.rlib,libnum_bigint-1b1616eb5d43cc8e.rlib,libnum_integer-aab1d933807a52f9.rlib,libnum_traits-8f2fa4671cabfc7c.rlib,libanyhow-07471542712fc6e3.rlib,libbinread-4659daa24ae1a219.rlib,liblazy_static-5f41077b1fb4f2c7.rlib,libthiserror-0d94f6e7001b4f9a.rlib,libserde-d23f2469e50c5f9c.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc4vt7Hv/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-cc4b9980a99598e4/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtenant_canister.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /tmp/rustc4vt7Hv/list:4: ; expected, but got __get_candid_interface_tmp_hack
[INFO] [stdout]           >>>     canister_query __get_candid_interface_tmp_hack;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tenant_canister` (lib) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5395126168a7c06bb630fbd18c0d582ba62236d7b38cfaf6628d74af37ac1e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5395126168a7c06bb630fbd18c0d582ba62236d7b38cfaf6628d74af37ac1e59", kill_on_drop: false }`
[INFO] [stdout] 5395126168a7c06bb630fbd18c0d582ba62236d7b38cfaf6628d74af37ac1e59
