[INFO] fetching crate bilingual 0.1.3... [INFO] testing bilingual-0.1.3 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-3 [INFO] extracting crate bilingual 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate bilingual 0.1.3 [INFO] finished tweaking crates.io crate bilingual 0.1.3 [INFO] tweaked toml for crates.io crate bilingual 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bilingual 0.1.3 on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate crates.io crate bilingual 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9 [INFO] running `"docker" "start" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "inspect" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling tokio v1.25.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.26 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-io v0.3.26 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling unicode-bidi v0.3.10 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Compiling nom8 v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling argh_shared v0.1.10 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling bilingual v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling ipnet v2.7.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling simplelog v0.12.0 [INFO] [stderr] Compiling pulldown-cmark-to-cmark v10.0.4 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling argh_derive v0.1.10 [INFO] [stderr] Compiling argh v0.1.10 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling serde_spanned v0.6.1 [INFO] [stderr] Compiling toml_datetime v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_edit v0.19.1 [INFO] [stderr] Compiling translation-api-cn v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling toml v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.14 [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `"docker" "inspect" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling similar v2.2.1 [INFO] [stderr] Compiling tl v0.7.7 [INFO] [stderr] Compiling console v0.15.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling comment v0.1.1 [INFO] [stderr] Compiling insta v1.26.0 [INFO] [stderr] Compiling bilingual v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 48.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `"docker" "inspect" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/bilingual/54cb2f387eae8fec/out/bilingual-54cb2f387eae8fec) [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/main.rs (/opt/rustwide/target/release/build/bilingual/131ad9eb1616f5a8/out/bilingual-131ad9eb1616f5a8) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test cmd::tests::new_filename_dir ... ok [INFO] [stdout] test tests::translation - should panic ... ok [INFO] [stdout] test tests::size ... ok [INFO] [stdout] test cmd::tests::error_report_on_empty_config ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cmd::tests::error_report_on_empty_config stdout ---- [INFO] [stdout] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Differences ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [INFO] [stdout] Snapshot: error_report_on_empty_config-2 [INFO] [stdout] Source: src/cmd/tests.rs:45 [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] Expression: logger.take_content() [INFO] [stdout] ──────────────────────────────────────────────────────────────────────────────── [INFO] [stdout] -old snapshot [INFO] [stdout] +new results [INFO] [stdout] ────────────┬─────────────────────────────────────────────────────────────────── [INFO] [stdout] 0 │-LEVEL=DEBUG: 由于未找到配置文件,先使用默认配置(无 id 和 key) [INFO] [stdout] 0 │+LEVEL=DEBUG: 由于未找到配置文件,先使用默认配置(无 id 和 key)␊ [INFO] [stdout] 1 │+LEVEL=DEBUG: "bilingual.toml" 配置文件不存在␊ [INFO] [stdout] ────────────┴─────────────────────────────────────────────────────────────────── [INFO] [stdout] [INFO] [stdout] thread 'cmd::tests::error_report_on_empty_config' (2214) panicked at src/cmd/tests.rs:45:5: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f7206fcedd7 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5f7206e74e0a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x5f7206fce38b - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x5f7206fcde6f - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5f7206fcda9a - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x5f7206fcd5d5 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 6: 0x5f7206ff4101 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 7: 0x5f7206ff40b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 8: 0x5f7206ff45bc - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 9: 0x5f7206e74c9b - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 10: 0x5f7206e7d0c1 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner [INFO] [stdout] 11: 0x5f7206e57aa0 - core[5c14b8d5a259cc4e]::result::unwrap_failed::> [INFO] [stdout] 12: 0x5f7206e66051 - >::call_once [INFO] [stdout] 13: 0x5f720700f36b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 14: 0x5f720700b4a0 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 15: 0x5f720700ac9c - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5f720702ac0c - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5f7206ff60e4 - ::new::thread_start [INFO] [stdout] 18: 0x781ce4a0fdfa - [INFO] [stdout] 19: 0x781ce4aa33d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cmd::tests::error_report_on_empty_config [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin bilingual` [INFO] running `"docker" "inspect" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] running `"docker" "rm" "-f" "1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9"` [INFO] [stdout] 1a9a0b404f67d07576013e8fabfeb663861a1116e32857fb0bcb7cc422b9dbf9