[INFO] cloning repository https://github.com/eduardostuart/compacto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eduardostuart/compacto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardostuart%2Fcompacto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardostuart%2Fcompacto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bd0c7b3204f3f0498c57d6397c87e70292d26e6 [INFO] testing eduardostuart/compacto against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feduardostuart%2Fcompacto" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eduardostuart/compacto [INFO] finished tweaking git repo https://github.com/eduardostuart/compacto [INFO] tweaked toml for git repo https://github.com/eduardostuart/compacto written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eduardostuart/compacto on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eduardostuart/compacto 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 193c4b43729a4a3b5c334310fe67fa1148f15921e83ce3fb3806c0834eaf0848 [INFO] running `Command { std: "docker" "start" "-a" "193c4b43729a4a3b5c334310fe67fa1148f15921e83ce3fb3806c0834eaf0848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "193c4b43729a4a3b5c334310fe67fa1148f15921e83ce3fb3806c0834eaf0848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193c4b43729a4a3b5c334310fe67fa1148f15921e83ce3fb3806c0834eaf0848", kill_on_drop: false }` [INFO] [stdout] 193c4b43729a4a3b5c334310fe67fa1148f15921e83ce3fb3806c0834eaf0848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6b0e379f24771053d9964052af1d33985ce0331755628b158d368d1fa21813 [INFO] running `Command { std: "docker" "start" "-a" "5b6b0e379f24771053d9964052af1d33985ce0331755628b158d368d1fa21813", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling utf8-width v0.1.5 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling byte-unit v4.0.13 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling compacto v1.0.2 (/opt/rustwide/workdir/compacto) [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/compress.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Compressor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/decompress.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Decompressor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decompressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling compacto-cli v1.0.2 (/opt/rustwide/workdir/compacto-cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.57s [INFO] running `Command { std: "docker" "inspect" "5b6b0e379f24771053d9964052af1d33985ce0331755628b158d368d1fa21813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6b0e379f24771053d9964052af1d33985ce0331755628b158d368d1fa21813", kill_on_drop: false }` [INFO] [stdout] 5b6b0e379f24771053d9964052af1d33985ce0331755628b158d368d1fa21813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f31f6065ef7f5d3176a8b5d6f880ec477de75031070766a60a06f86c425361c6 [INFO] running `Command { std: "docker" "start" "-a" "f31f6065ef7f5d3176a8b5d6f880ec477de75031070766a60a06f86c425361c6", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling compacto v1.0.2 (/opt/rustwide/workdir/compacto) [INFO] [stderr] Compiling compacto-cli v1.0.2 (/opt/rustwide/workdir/compacto-cli) [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/compress.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Compressor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/decompress.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Decompressor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decompressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/compress.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Compressor { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> compacto/src/decompress.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Decompressor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | output: Value, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decompressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "f31f6065ef7f5d3176a8b5d6f880ec477de75031070766a60a06f86c425361c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f31f6065ef7f5d3176a8b5d6f880ec477de75031070766a60a06f86c425361c6", kill_on_drop: false }` [INFO] [stdout] f31f6065ef7f5d3176a8b5d6f880ec477de75031070766a60a06f86c425361c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d890d4e2e3213953329fe58cad36988e8d42996f9f868d2d12644a1184632aa [INFO] running `Command { std: "docker" "start" "-a" "2d890d4e2e3213953329fe58cad36988e8d42996f9f868d2d12644a1184632aa", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: field `output` is never read [INFO] [stderr] --> compacto/src/compress.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Compressor { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | output: Value, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Compressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `output` is never read [INFO] [stderr] --> compacto/src/decompress.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Decompressor { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | output: Value, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Decompressor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `compacto` (lib) generated 2 warnings [INFO] [stderr] warning: `compacto` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/compacto-9092d437b17640a1) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test compress::test::should_compress_and_create_reference_of_values ... ok [INFO] [stdout] test compress::test::should_be_able_to_compress_json ... ok [INFO] [stdout] test compress::test::should_not_contain_duplicated_values ... ok [INFO] [stdout] test decompress::test::should_return_original_input_if_not_array_expected_length ... ok [INFO] [stdout] test decompress::test::should_return_original_input_if_not_array ... ok [INFO] [stdout] test decompress::test::should_be_equal_to_original_json ... ok [INFO] [stdout] test decompress::test::should_return_valid_json ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compacto-023b40a201ab374e) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [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] Doc-tests compacto [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test compacto/src/compress.rs - compress::compress_json (line 121) ... ok [INFO] [stdout] test compacto/src/decompress.rs - decompress::Decompressor::new (line 16) ... ok [INFO] [stdout] test compacto/src/decompress.rs - decompress::decompress_json (line 113) ... ok [INFO] [stdout] test compacto/src/compress.rs - compress::Compressor::new (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d890d4e2e3213953329fe58cad36988e8d42996f9f868d2d12644a1184632aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d890d4e2e3213953329fe58cad36988e8d42996f9f868d2d12644a1184632aa", kill_on_drop: false }` [INFO] [stdout] 2d890d4e2e3213953329fe58cad36988e8d42996f9f868d2d12644a1184632aa