[INFO] cloning repository https://github.com/jjxpeak/geekbang-homework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jjxpeak/geekbang-homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjxpeak%2Fgeekbang-homework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjxpeak%2Fgeekbang-homework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec72f0ca35f792113ca32a89b5942d3fd0354c0c [INFO] testing jjxpeak/geekbang-homework against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjjxpeak%2Fgeekbang-homework" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jjxpeak/geekbang-homework [INFO] finished tweaking git repo https://github.com/jjxpeak/geekbang-homework [INFO] tweaked toml for git repo https://github.com/jjxpeak/geekbang-homework written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jjxpeak/geekbang-homework on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jjxpeak/geekbang-homework 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded zstd-safe v7.1.0 [INFO] [stderr] Downloaded http-range-header v0.4.1 [INFO] [stderr] Downloaded http-body-util v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.81 [INFO] [stderr] Downloaded axum-core v0.4.3 [INFO] [stderr] Downloaded anyhow v1.0.82 [INFO] [stderr] Downloaded clap_derive v4.5.4 [INFO] [stderr] Downloaded parse_datetime v0.5.0 [INFO] [stderr] Downloaded hyper-util v0.1.3 [INFO] [stderr] Downloaded hyper v1.3.1 [INFO] [stderr] Downloaded axum v0.7.5 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded brotli-decompressor v4.0.0 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] [stderr] Downloaded syn v2.0.60 [INFO] [stderr] Downloaded winnow v0.6.7 [INFO] [stderr] Downloaded toml_edit v0.22.12 [INFO] [stderr] Downloaded async-compression v0.4.9 [INFO] [stderr] Downloaded base64 v0.22.0 [INFO] [stderr] Downloaded serde v1.0.199 [INFO] [stderr] Downloaded getrandom v0.2.14 [INFO] [stderr] Downloaded serde_derive v1.0.199 [INFO] [stderr] Downloaded zstd v0.13.1 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Downloaded serde_path_to_error v0.1.16 [INFO] [stderr] Downloaded zeroize v1.8.0 [INFO] [stderr] Downloaded jwt v0.16.0 [INFO] [stderr] Downloaded rustversion v1.0.15 [INFO] [stderr] Downloaded brotli v5.0.0 [INFO] [stderr] Downloaded aead-io v0.2.0 [INFO] [stderr] Downloaded stringreader v0.1.1 [INFO] [stderr] Downloaded cc v1.0.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b27dd51ca5568f28e482033c3e6a72b9ed2d7a54e742cc2f6618c81275b435 [INFO] running `Command { std: "docker" "start" "-a" "75b27dd51ca5568f28e482033c3e6a72b9ed2d7a54e742cc2f6618c81275b435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b27dd51ca5568f28e482033c3e6a72b9ed2d7a54e742cc2f6618c81275b435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b27dd51ca5568f28e482033c3e6a72b9ed2d7a54e742cc2f6618c81275b435", kill_on_drop: false }` [INFO] [stdout] 75b27dd51ca5568f28e482033c3e6a72b9ed2d7a54e742cc2f6618c81275b435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3160ddb5cbf2bc2b248b08f23b6f884d80f5caf558d79361a8bb1a28d6d4183b [INFO] running `Command { std: "docker" "start" "-a" "3160ddb5cbf2bc2b248b08f23b6f884d80f5caf558d79361a8bb1a28d6d4183b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling brotli-decompressor v4.0.0 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling zeroize v1.8.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling winnow v0.6.7 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling brotli v5.0.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling stringreader v0.1.1 [INFO] [stderr] Compiling aead-io v0.2.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling parse_datetime v0.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling async-compression v0.4.9 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling jwt v0.16.0 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling rcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "3160ddb5cbf2bc2b248b08f23b6f884d80f5caf558d79361a8bb1a28d6d4183b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3160ddb5cbf2bc2b248b08f23b6f884d80f5caf558d79361a8bb1a28d6d4183b", kill_on_drop: false }` [INFO] [stdout] 3160ddb5cbf2bc2b248b08f23b6f884d80f5caf558d79361a8bb1a28d6d4183b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c6a1ba266c79b84fdfa7f8a02a6d43b8b8926c5def0ab9a63cd26a4aa871ebc [INFO] running `Command { std: "docker" "start" "-a" "2c6a1ba266c79b84fdfa7f8a02a6d43b8b8926c5def0ab9a63cd26a4aa871ebc", kill_on_drop: false }` [INFO] [stderr] Compiling rcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.60s [INFO] running `Command { std: "docker" "inspect" "2c6a1ba266c79b84fdfa7f8a02a6d43b8b8926c5def0ab9a63cd26a4aa871ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6a1ba266c79b84fdfa7f8a02a6d43b8b8926c5def0ab9a63cd26a4aa871ebc", kill_on_drop: false }` [INFO] [stdout] 2c6a1ba266c79b84fdfa7f8a02a6d43b8b8926c5def0ab9a63cd26a4aa871ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a92efb6b05707eb7f2bb0bd2e3979e88cb26e4cf22756c887639293f59f11cf4 [INFO] running `Command { std: "docker" "start" "-a" "a92efb6b05707eb7f2bb0bd2e3979e88cb26e4cf22756c887639293f59f11cf4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rcli-641b7de914a1b636) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test actuator::text_act::tests::text_read_content_some ... ok [INFO] [stdout] test actuator::text_act::tests::text_read_content_none ... ok [INFO] [stdout] test utils::base64::tests::utils_base64_standard_test ... ok [INFO] [stdout] test utils::base64::tests::utils_base64_url_saff_no_pad_test ... ok [INFO] [stdout] test actuator::text_act::tests::text_decrypt_encrypt ... ok [INFO] [stdout] test utils::fs::tests::utils_check_path_is_dir ... ok [INFO] [stdout] test utils::convert::tests::test_json_to_yml ... ok [INFO] [stdout] test utils::convert::tests::test_yml_to_json ... ok [INFO] [stdout] test utils::base64::tests::utils_base64_url_saff_test ... ok [INFO] [stdout] test utils::fs::tests::utils_check_path_is_file ... ok [INFO] [stdout] test utils::base64::tests::utils_base64_standard_no_pad_test ... ok [INFO] [stdout] test utils::convert::tests::test_toml_to_json ... ok [INFO] [stdout] test cli::jwt::test::test_parse_datetime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rcli-2fdf37de577ce543) [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] [stderr] Doc-tests rcli [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/utils/fs.rs - utils::fs::get_reader (line 13) - compile ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/utils/fs.rs - utils::fs::get_reader (line 13) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `"123321"` [INFO] [stdout] --> src/utils/fs.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 1 | echo "123321" > exist.file [INFO] [stdout] | ^^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/utils/fs.rs - utils::fs::get_reader (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a92efb6b05707eb7f2bb0bd2e3979e88cb26e4cf22756c887639293f59f11cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92efb6b05707eb7f2bb0bd2e3979e88cb26e4cf22756c887639293f59f11cf4", kill_on_drop: false }` [INFO] [stdout] a92efb6b05707eb7f2bb0bd2e3979e88cb26e4cf22756c887639293f59f11cf4