[INFO] cloning repository https://github.com/WhiredPlanck/micro-plum-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WhiredPlanck/micro-plum-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhiredPlanck%2Fmicro-plum-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhiredPlanck%2Fmicro-plum-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df6d672fa7db2e1a155c9bc6ecdfb8858fc80795 [INFO] testing WhiredPlanck/micro-plum-rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhiredPlanck%2Fmicro-plum-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WhiredPlanck/micro-plum-rs [INFO] finished tweaking git repo https://github.com/WhiredPlanck/micro-plum-rs [INFO] tweaked toml for git repo https://github.com/WhiredPlanck/micro-plum-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WhiredPlanck/micro-plum-rs 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/WhiredPlanck/micro-plum-rs 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 colored v1.9.4 [INFO] [stderr] Downloaded luaparse v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9e3abe10f2926d7457b1815a96e75065308e16519420fb0a2e3cf68f64737900 [INFO] running `Command { std: "docker" "start" "-a" "9e3abe10f2926d7457b1815a96e75065308e16519420fb0a2e3cf68f64737900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e3abe10f2926d7457b1815a96e75065308e16519420fb0a2e3cf68f64737900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3abe10f2926d7457b1815a96e75065308e16519420fb0a2e3cf68f64737900", kill_on_drop: false }` [INFO] [stdout] 9e3abe10f2926d7457b1815a96e75065308e16519420fb0a2e3cf68f64737900 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9b93eb5207a00672171c3ae9585e1d6dc3372ea84095a48690172daee469a557 [INFO] running `Command { std: "docker" "start" "-a" "9b93eb5207a00672171c3ae9585e1d6dc3372ea84095a48690172daee469a557", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.10 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling luaparse v0.2.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling micro-plum-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `OpenCCConfig` is more private than the item `parse_opencc` [INFO] [stdout] --> src/opencc_parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_opencc` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `OpenCCConfig` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/opencc_parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct OpenCCConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Schema` is more private than the item `get_binary_names` [INFO] [stdout] --> src/schema_parser.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_binary_names` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Schema` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/schema_parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Schema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lua` is never used [INFO] [stdout] --> src/lua_parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_lua(content: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegDict` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct SegDict { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainDict` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ChainDict { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segmentation` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Segmentation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenCCConfig` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct OpenCCConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_opencc` is never used [INFO] [stdout] --> src/opencc_parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/schema_parser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Translator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_include` is never used [INFO] [stdout] --> src/schema_parser.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_include(obj: &serde_yaml::Value, result: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_schema` is never used [INFO] [stdout] --> src/schema_parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn parse_schema(schema: &serde_yaml::Value) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_binary_names` is never used [INFO] [stdout] --> src/schema_parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_dict` is never used [INFO] [stdout] --> src/dict_parser.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_dict(schema: &serde_yaml::Value) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_lua` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn expand_lua(file: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "9b93eb5207a00672171c3ae9585e1d6dc3372ea84095a48690172daee469a557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b93eb5207a00672171c3ae9585e1d6dc3372ea84095a48690172daee469a557", kill_on_drop: false }` [INFO] [stdout] 9b93eb5207a00672171c3ae9585e1d6dc3372ea84095a48690172daee469a557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1342f8269a8fa0c3714843032d76570e10e0f401ab2e3eb45a5a96798a60dd78 [INFO] running `Command { std: "docker" "start" "-a" "1342f8269a8fa0c3714843032d76570e10e0f401ab2e3eb45a5a96798a60dd78", kill_on_drop: false }` [INFO] [stderr] Compiling micro-plum-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `OpenCCConfig` is more private than the item `parse_opencc` [INFO] [stdout] --> src/opencc_parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_opencc` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `OpenCCConfig` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/opencc_parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct OpenCCConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Schema` is more private than the item `get_binary_names` [INFO] [stdout] --> src/schema_parser.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_binary_names` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Schema` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/schema_parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | struct Schema { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_lua` is never used [INFO] [stdout] --> src/lua_parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_lua(content: &str) -> Result>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SegDict` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct SegDict { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChainDict` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct ChainDict { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segmentation` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Segmentation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpenCCConfig` is never constructed [INFO] [stdout] --> src/opencc_parser.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct OpenCCConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_opencc` is never used [INFO] [stdout] --> src/opencc_parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Translator` is never constructed [INFO] [stdout] --> src/schema_parser.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Translator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schema` is never constructed [INFO] [stdout] --> src/schema_parser.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Schema { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_include` is never used [INFO] [stdout] --> src/schema_parser.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn parse_include(obj: &serde_yaml::Value, result: &mut Vec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_schema` is never used [INFO] [stdout] --> src/schema_parser.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn parse_schema(schema: &serde_yaml::Value) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_binary_names` is never used [INFO] [stdout] --> src/schema_parser.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_dict` is never used [INFO] [stdout] --> src/dict_parser.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_dict(schema: &serde_yaml::Value) -> Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_lua` is never used [INFO] [stdout] --> src/utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn expand_lua(file: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "1342f8269a8fa0c3714843032d76570e10e0f401ab2e3eb45a5a96798a60dd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1342f8269a8fa0c3714843032d76570e10e0f401ab2e3eb45a5a96798a60dd78", kill_on_drop: false }` [INFO] [stdout] 1342f8269a8fa0c3714843032d76570e10e0f401ab2e3eb45a5a96798a60dd78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 879bb9bf8a2cc5a1d1deaab042866ca1501d493cb525a62d07cbb4d8a950d268 [INFO] running `Command { std: "docker" "start" "-a" "879bb9bf8a2cc5a1d1deaab042866ca1501d493cb525a62d07cbb4d8a950d268", kill_on_drop: false }` [INFO] [stderr] warning: type `OpenCCConfig` is more private than the item `parse_opencc` [INFO] [stderr] --> src/opencc_parser.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `parse_opencc` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `OpenCCConfig` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/opencc_parser.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | struct OpenCCConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Schema` is more private than the item `get_binary_names` [INFO] [stderr] --> src/schema_parser.rs:109:1 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_binary_names` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `Schema` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/schema_parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | struct Schema { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_lua` is never used [INFO] [stderr] --> src/lua_parser.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn parse_lua(content: &str) -> Result>> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `SegDict` is never constructed [INFO] [stderr] --> src/opencc_parser.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct SegDict { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChainDict` is never constructed [INFO] [stderr] --> src/opencc_parser.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct ChainDict { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Segmentation` is never constructed [INFO] [stderr] --> src/opencc_parser.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct Segmentation { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OpenCCConfig` is never constructed [INFO] [stderr] --> src/opencc_parser.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct OpenCCConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_opencc` is never used [INFO] [stderr] --> src/opencc_parser.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn parse_opencc(config: &OpenCCConfig) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Translator` is never constructed [INFO] [stderr] --> src/schema_parser.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct Translator { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Schema` is never constructed [INFO] [stderr] --> src/schema_parser.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct Schema { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_include` is never used [INFO] [stderr] --> src/schema_parser.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | fn parse_include(obj: &serde_yaml::Value, result: &mut Vec) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_schema` is never used [INFO] [stderr] --> src/schema_parser.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn parse_schema(schema: &serde_yaml::Value) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_binary_names` is never used [INFO] [stderr] --> src/schema_parser.rs:109:8 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn get_binary_names(schema: &Schema) -> Result<(Option, Option)>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_dict` is never used [INFO] [stderr] --> src/dict_parser.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn parse_dict(schema: &serde_yaml::Value) -> Result>> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `expand_lua` is never used [INFO] [stderr] --> src/utils.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn expand_lua(file: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `micro-plum-rs` (bin "micro-plum-rs" test) generated 15 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/micro_plum_rs-fb6803f8dabafa00) [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] running `Command { std: "docker" "inspect" "879bb9bf8a2cc5a1d1deaab042866ca1501d493cb525a62d07cbb4d8a950d268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879bb9bf8a2cc5a1d1deaab042866ca1501d493cb525a62d07cbb4d8a950d268", kill_on_drop: false }` [INFO] [stdout] 879bb9bf8a2cc5a1d1deaab042866ca1501d493cb525a62d07cbb4d8a950d268