[INFO] cloning repository https://github.com/pu0238/pluto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pu0238/pluto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpu0238%2Fpluto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpu0238%2Fpluto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e0a8b24b1147bd423c1d84894b14a603a1be55b [INFO] testing pu0238/pluto against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpu0238%2Fpluto" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/pu0238/pluto [INFO] finished tweaking git repo https://github.com/pu0238/pluto [INFO] tweaked toml for git repo https://github.com/pu0238/pluto written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pu0238/pluto on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pu0238/pluto 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31553fc7fd3b0a0db97197380726af19c077b6b9b2d1719ddf942352512a9644 [INFO] running `Command { std: "docker" "start" "-a" "31553fc7fd3b0a0db97197380726af19c077b6b9b2d1719ddf942352512a9644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31553fc7fd3b0a0db97197380726af19c077b6b9b2d1719ddf942352512a9644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31553fc7fd3b0a0db97197380726af19c077b6b9b2d1719ddf942352512a9644", kill_on_drop: false }` [INFO] [stdout] 31553fc7fd3b0a0db97197380726af19c077b6b9b2d1719ddf942352512a9644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f661a6229692389c004c5f91162e1483f7109fe645edd7412b300cff5b3effa3 [INFO] running `Command { std: "docker" "start" "-a" "f661a6229692389c004c5f91162e1483f7109fe645edd7412b300cff5b3effa3", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ic-cdk-executor v1.0.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling ic0 v0.25.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling matchit v0.8.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ic-representation-independent-hash v3.0.3 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling nom-language v0.1.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ructe v0.18.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ic-pluto-templating v0.1.1 (/opt/rustwide/workdir/src/pluto_templating) [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http_server_html_template v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_html_template) [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [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_cbor v0.11.2 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling ic-certification v3.0.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde-aux v4.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling ic-http-certification v3.0.3 [INFO] [stderr] Compiling ic-cdk-macros v0.18.4 [INFO] [stderr] Compiling ic-cdk v0.18.4 [INFO] [stderr] Compiling ic-pluto v0.3.3 (/opt/rustwide/workdir/src/pluto) [INFO] [stdout] warning: methods `is_safe` and `is_idempotent` are never used [INFO] [stdout] --> src/pluto/src/method.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Method { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn is_idempotent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pluto/src/router.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 119 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 120 | method: Method, [INFO] [stdout] 121 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^--^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http_server_body_validation v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_body_validation) [INFO] [stderr] Compiling http_server_cors v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_cors) [INFO] [stderr] Compiling http_server v0.1.0 (/opt/rustwide/workdir/examples/src/http_server) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.85s [INFO] running `Command { std: "docker" "inspect" "f661a6229692389c004c5f91162e1483f7109fe645edd7412b300cff5b3effa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f661a6229692389c004c5f91162e1483f7109fe645edd7412b300cff5b3effa3", kill_on_drop: false }` [INFO] [stdout] f661a6229692389c004c5f91162e1483f7109fe645edd7412b300cff5b3effa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0ad6e480012c690c113d9d7041feb1664cb2901d97f8379f68cb51cfb022cdb [INFO] running `Command { std: "docker" "start" "-a" "d0ad6e480012c690c113d9d7041feb1664cb2901d97f8379f68cb51cfb022cdb", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ic-pluto-templating v0.1.1 (/opt/rustwide/workdir/src/pluto_templating) [INFO] [stdout] warning: methods `is_safe` and `is_idempotent` are never used [INFO] [stdout] --> src/pluto/src/method.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 70 | impl Method { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub(crate) fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub(crate) fn is_idempotent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pluto/src/router.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 119 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 120 | method: Method, [INFO] [stdout] 121 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^--^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http_server_body_validation v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_body_validation) [INFO] [stderr] Compiling http_server_cors v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_cors) [INFO] [stderr] Compiling http_server v0.1.0 (/opt/rustwide/workdir/examples/src/http_server) [INFO] [stderr] Compiling http_server_html_template v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_html_template) [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling ic-pluto v0.3.3 (/opt/rustwide/workdir/src/pluto) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/pluto/src/router.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | let response = HttpResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pluto/src/router.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 119 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 120 | method: Method, [INFO] [stdout] 121 | path: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | ^^^^^^^--^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.06s [INFO] running `Command { std: "docker" "inspect" "d0ad6e480012c690c113d9d7041feb1664cb2901d97f8379f68cb51cfb022cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ad6e480012c690c113d9d7041feb1664cb2901d97f8379f68cb51cfb022cdb", kill_on_drop: false }` [INFO] [stdout] d0ad6e480012c690c113d9d7041feb1664cb2901d97f8379f68cb51cfb022cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 697d1f245cb7af50ef8f05ca3762674c5b43430e9f33b9a8dd3cc09d9315b943 [INFO] running `Command { std: "docker" "start" "-a" "697d1f245cb7af50ef8f05ca3762674c5b43430e9f33b9a8dd3cc09d9315b943", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] [stderr] warning: methods `is_safe` and `is_idempotent` are never used [INFO] [stderr] --> src/pluto/src/method.rs:149:19 [INFO] [stderr] | [INFO] [stderr] 70 | impl Method { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 149 | pub(crate) fn is_safe(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub(crate) fn is_idempotent(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/pluto/src/router.rs:122:17 [INFO] [stderr] | [INFO] [stderr] 119 | &'a self, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 120 | method: Method, [INFO] [stderr] 121 | path: &'a str, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] 122 | ) -> Result, String> { [INFO] [stderr] | ^^^^^^^--^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 122 | ) -> Result, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ic-pluto` (lib) generated 2 warnings (run `cargo fix --lib -p ic-pluto` to apply 1 suggestion) [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/pluto/src/router.rs:703:13 [INFO] [stderr] | [INFO] [stderr] 703 | let response = HttpResponse { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ic-pluto` (lib test) generated 2 warnings (1 duplicate) (run `cargo fix --lib -p ic-pluto --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_server-39befd018a5fb449) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_server_body_validation-8213cc909de4b875) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_server_cors-3e000abd8a86a6b4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_server_html_template-8146afcfd4cb3d8e) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_pluto-dc9dc7c6d68ff7a8) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test method::test::test_method_eq ... ok [INFO] [stdout] test method::test::test_extention_method ... ok [INFO] [stdout] test method::test::test_is_idempotent ... ok [INFO] [stdout] test router::test::test_router ... ok [INFO] [stdout] test method::test::test_invalid_method ... ok [INFO] [stdout] test all_or_some::tests ... ok [INFO] [stdout] test router::test::test_lookup_works ... ok [INFO] [stdout] test router::test::test_router_prefix ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_pluto_templating-c591512fe43cb753) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ic_pluto [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/pluto/src/router.rs - router::Router::delete (line 327) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::global_options (line 375) ... FAILED [INFO] [stdout] test src/pluto/src/http.rs - http::HttpServe::serve (line 575) ... FAILED [INFO] [stdout] test src/pluto/src/method.rs - method (line 12) ... FAILED [INFO] [stdout] test src/pluto/src/method.rs - method::Method (line 39) ... FAILED [INFO] [stdout] test src/pluto/src/http.rs - http::HttpServe::use_cors (line 500) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::handle_options (line 361) ... FAILED [INFO] [stdout] test src/pluto/src/http.rs - http::http_serve_router (line 220) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::new (line 34) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::patch (line 294) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::allowed (line 405) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::put (line 266) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::options (line 200) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::post (line 233) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::handle (line 67) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::get (line 139) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::set_global_prefix (line 52) ... FAILED [INFO] [stdout] test src/pluto/src/router.rs - router::Router::head (line 167) ... FAILED [INFO] [stdout] test src/pluto/src/http.rs - http::http_serve (line 271) ... FAILED [INFO] [stdout] test src/pluto/src/static_files.rs - static_files::use_static_files (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::delete (line 327) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::global_options (line 375) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/http.rs - http::HttpServe::serve (line 575) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | use pluto::http::{RawHttpRequest, RawHttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | use pluto::http::HttpServe; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | use pluto::http_serve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/method.rs - method (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/method.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/method.rs - method::Method (line 39) stdout ---- [INFO] [stderr] error: doctest failed, to rerun pass `-p ic-pluto --doc` [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/method.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/http.rs - http::HttpServe::use_cors (line 500) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | use pluto::http::{RawHttpRequest, RawHttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | use pluto::http::HttpServe; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:507:5 [INFO] [stdout] | [INFO] [stdout] 507 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:508:5 [INFO] [stdout] | [INFO] [stdout] 508 | use pluto::cors::Cors; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | use pluto::http_serve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::handle_options (line 361) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 362 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/http.rs - http::http_serve_router (line 220) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | use pluto::http::{RawHttpRequest, RawHttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | use pluto::http::HttpServe; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | use pluto::http_serve_router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::new (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::patch (line 294) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:296:5 [INFO] [stdout] | [INFO] [stdout] 296 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::allowed (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::put (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::options (line 200) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::post (line 233) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::handle (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::get (line 139) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::set_global_prefix (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/router.rs - router::Router::head (line 167) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | use pluto::http::{HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/router.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | use pluto::method::Method; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/http.rs - http::http_serve (line 271) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | use pluto::router::Router; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | use pluto::http::{RawHttpRequest, RawHttpResponse}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | use pluto::http::HttpServe; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pluto` [INFO] [stdout] --> src/pluto/src/http.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use pluto::http_serve; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pluto`, use `cargo add pluto` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/pluto/src/static_files.rs - static_files::use_static_files (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pluto` [INFO] [stdout] --> src/pluto/src/static_files.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pluto::use_static_files!(instance); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `pluto` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post_upgrade` in this scope [INFO] [stdout] --> src/pluto/src/static_files.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[post_upgrade] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `post_upgrade` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 10 + use ic_cdk::post_upgrade; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ROUTER` in this scope [INFO] [stdout] --> src/pluto/src/static_files.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ROUTER.with(|r| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `controller` [INFO] [stdout] --> src/pluto/src/static_files.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut instance = controller::setup(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `controller` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `controller`, use `cargo add controller` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/pluto/src/static_files.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | ROUTER.with(|r| { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 16 | *r.borrow_mut() = instance; [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | ROUTER.with(|r: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/pluto/src/http.rs - http::HttpServe::serve (line 575) [INFO] [stdout] src/pluto/src/http.rs - http::HttpServe::use_cors (line 500) [INFO] [stdout] src/pluto/src/http.rs - http::http_serve (line 271) [INFO] [stdout] src/pluto/src/http.rs - http::http_serve_router (line 220) [INFO] [stdout] src/pluto/src/method.rs - method (line 12) [INFO] [stdout] src/pluto/src/method.rs - method::Method (line 39) [INFO] [stdout] src/pluto/src/router.rs - router::Router::allowed (line 405) [INFO] [stdout] src/pluto/src/router.rs - router::Router::delete (line 327) [INFO] [stdout] src/pluto/src/router.rs - router::Router::get (line 139) [INFO] [stdout] src/pluto/src/router.rs - router::Router::global_options (line 375) [INFO] [stdout] src/pluto/src/router.rs - router::Router::handle (line 67) [INFO] [stdout] src/pluto/src/router.rs - router::Router::handle_options (line 361) [INFO] [stdout] src/pluto/src/router.rs - router::Router::head (line 167) [INFO] [stdout] src/pluto/src/router.rs - router::Router::new (line 34) [INFO] [stdout] src/pluto/src/router.rs - router::Router::options (line 200) [INFO] [stdout] src/pluto/src/router.rs - router::Router::patch (line 294) [INFO] [stdout] src/pluto/src/router.rs - router::Router::post (line 233) [INFO] [stdout] src/pluto/src/router.rs - router::Router::put (line 266) [INFO] [stdout] src/pluto/src/router.rs - router::Router::set_global_prefix (line 52) [INFO] [stdout] src/pluto/src/static_files.rs - static_files::use_static_files (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "697d1f245cb7af50ef8f05ca3762674c5b43430e9f33b9a8dd3cc09d9315b943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697d1f245cb7af50ef8f05ca3762674c5b43430e9f33b9a8dd3cc09d9315b943", kill_on_drop: false }` [INFO] [stdout] 697d1f245cb7af50ef8f05ca3762674c5b43430e9f33b9a8dd3cc09d9315b943