[INFO] cloning repository https://github.com/TD-Hackathon-2022/cri-wasm-func-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TD-Hackathon-2022/cri-wasm-func-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTD-Hackathon-2022%2Fcri-wasm-func-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTD-Hackathon-2022%2Fcri-wasm-func-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6e6afef002f9b3683ff9ec6d96eff9e21d78bcb [INFO] checking TD-Hackathon-2022/cri-wasm-func-test/b6e6afef002f9b3683ff9ec6d96eff9e21d78bcb against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTD-Hackathon-2022%2Fcri-wasm-func-test" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TD-Hackathon-2022/cri-wasm-func-test on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TD-Hackathon-2022/cri-wasm-func-test [INFO] finished tweaking git repo https://github.com/TD-Hackathon-2022/cri-wasm-func-test [INFO] tweaked toml for git repo https://github.com/TD-Hackathon-2022/cri-wasm-func-test written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TD-Hackathon-2022/cri-wasm-func-test 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fed0831ad8a7e03a59cd4d14184cf05c05162d37796d5c9accdd336ff238512 [INFO] running `Command { std: "docker" "start" "-a" "0fed0831ad8a7e03a59cd4d14184cf05c05162d37796d5c9accdd336ff238512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fed0831ad8a7e03a59cd4d14184cf05c05162d37796d5c9accdd336ff238512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fed0831ad8a7e03a59cd4d14184cf05c05162d37796d5c9accdd336ff238512", kill_on_drop: false }` [INFO] [stdout] 0fed0831ad8a7e03a59cd4d14184cf05c05162d37796d5c9accdd336ff238512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0416933d0322cb7d53493e2e83c5b9c126b68f36591cdef04e40535180da9d01 [INFO] running `Command { std: "docker" "start" "-a" "0416933d0322cb7d53493e2e83c5b9c126b68f36591cdef04e40535180da9d01", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.75 (/opt/rustwide/workdir/crate-lib/serde_json-1.0.75) [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:109:47 [INFO] [stdout] | [INFO] [stdout] 109 | #[cfg(any(feature = "preserve_order", not(no_btreemap_get_key_value)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [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 name: `no_btreemap_retain` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:280:15 [INFO] [stdout] | [INFO] [stdout] 280 | #[cfg(not(no_btreemap_retain))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_retain)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_retain)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:156:51 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(any(feature = "preserve_order", not(no_btreemap_remove_entry)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | no_btreemap_remove_entry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | not(no_btreemap_get_key_value), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_remove_entry` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | no_btreemap_remove_entry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_remove_entry)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_remove_entry)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_btreemap_get_key_value` [INFO] [stdout] --> crate-lib/serde_json-1.0.75/src/map.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | no_btreemap_get_key_value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_btreemap_get_key_value)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_btreemap_get_key_value)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Index` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Add, Index}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add` and `Index` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Add, Index}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lambdaHandler` should have a snake case name [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn lambdaHandler(paramsMap: HashMap) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lambda_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `paramsMap` should have a snake case name [INFO] [stdout] --> src/main.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn lambdaHandler(paramsMap: HashMap) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `params_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lambdaHandler` should have a snake case name [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn lambdaHandler(paramsMap: HashMap) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `lambda_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `paramsMap` should have a snake case name [INFO] [stdout] --> src/main.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn lambdaHandler(paramsMap: HashMap) -> Value { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `params_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.64s [INFO] running `Command { std: "docker" "inspect" "0416933d0322cb7d53493e2e83c5b9c126b68f36591cdef04e40535180da9d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0416933d0322cb7d53493e2e83c5b9c126b68f36591cdef04e40535180da9d01", kill_on_drop: false }` [INFO] [stdout] 0416933d0322cb7d53493e2e83c5b9c126b68f36591cdef04e40535180da9d01