[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] 581a8bf29720ed46fc84c4a614364036265b31b7 [INFO] checking pu0238/pluto against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpu0238%2Fpluto" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pu0238/pluto on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-3-tc1/source/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk v0.13.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.9.0 [INFO] [stderr] Downloaded ructe v0.17.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded darling_macro v0.20.8 [INFO] [stderr] Downloaded bytecount v0.6.7 [INFO] [stderr] Downloaded validator v0.17.0 [INFO] [stderr] Downloaded serde-aux v4.5.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded darling v0.20.8 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded darling_core v0.20.8 [INFO] [stderr] Downloaded candid v0.10.5 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded matchit v0.8.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded validator_derive v0.17.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8060e956dd54f1dad98cbd055a43364ccdd95883fcb3ddc1e7b3c87b393970f9 [INFO] running `Command { std: "docker" "start" "-a" "8060e956dd54f1dad98cbd055a43364ccdd95883fcb3ddc1e7b3c87b393970f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8060e956dd54f1dad98cbd055a43364ccdd95883fcb3ddc1e7b3c87b393970f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8060e956dd54f1dad98cbd055a43364ccdd95883fcb3ddc1e7b3c87b393970f9", kill_on_drop: false }` [INFO] [stdout] 8060e956dd54f1dad98cbd055a43364ccdd95883fcb3ddc1e7b3c87b393970f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54bb3c17a7639105bda269183a06725fd2f080f2e134ce20b984d28bb5e6f479 [INFO] running `Command { std: "docker" "start" "-a" "54bb3c17a7639105bda269183a06725fd2f080f2e134ce20b984d28bb5e6f479", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.dependencies.tokio.workspace [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking matchit v0.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking once_cell v1.18.0 [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] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling ructe v0.17.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling ic-pluto-templating v0.1.1 (/opt/rustwide/workdir/src/pluto_templating) [INFO] [stderr] Compiling http_server_html_template v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_html_template) [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling validator_derive v0.17.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking serde-aux v4.5.0 [INFO] [stderr] Checking validator v0.17.0 [INFO] [stderr] Checking candid v0.10.5 [INFO] [stderr] Checking 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pluto/src/router.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 118 | method: Method, [INFO] [stdout] 119 | path: &'a str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 120 | ) -> Result, String> { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 120 | ) -> Result, String> { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Checking ic-cdk v0.13.1 [INFO] [stderr] Checking http_server v0.1.0 (/opt/rustwide/workdir/examples/src/http_server) [INFO] [stderr] Checking http_server_body_validation v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_body_validation) [INFO] [stderr] Checking http_server_cors v0.1.0 (/opt/rustwide/workdir/examples/src/http_server_cors) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/http_server_html_template-f0ccf8a079b9464b/out/templates/template_index_html.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> /opt/rustwide/target/debug/build/http_server_html_template-f0ccf8a079b9464b/out/templates/template_index_html.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg_attr(feature="cargo-clippy", allow(useless_attribute))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/pluto/src/router.rs:701:13 [INFO] [stdout] | [INFO] [stdout] 701 | let response = HttpResponse { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/pluto/src/router.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 118 | method: Method, [INFO] [stdout] 119 | path: &'a str, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 120 | ) -> Result, String> { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided 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] 120 | ) -> Result, String> { [INFO] [stdout] | +++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.22s [INFO] running `Command { std: "docker" "inspect" "54bb3c17a7639105bda269183a06725fd2f080f2e134ce20b984d28bb5e6f479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54bb3c17a7639105bda269183a06725fd2f080f2e134ce20b984d28bb5e6f479", kill_on_drop: false }` [INFO] [stdout] 54bb3c17a7639105bda269183a06725fd2f080f2e134ce20b984d28bb5e6f479