[INFO] cloning repository https://github.com/pinyin-tools/librustpinyin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pinyin-tools/librustpinyin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpinyin-tools%2Flibrustpinyin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpinyin-tools%2Flibrustpinyin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71cb49654ceee03b759e6a087955958e70aa477a [INFO] checking pinyin-tools/librustpinyin against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpinyin-tools%2Flibrustpinyin" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pinyin-tools/librustpinyin on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pinyin-tools/librustpinyin [INFO] finished tweaking git repo https://github.com/pinyin-tools/librustpinyin [INFO] tweaked toml for git repo https://github.com/pinyin-tools/librustpinyin written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pinyin-tools/librustpinyin 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f21ae8c96f451ae0a901c45c10f8b51638b6278846ff363a3d255af795fe231 [INFO] running `Command { std: "docker" "start" "-a" "3f21ae8c96f451ae0a901c45c10f8b51638b6278846ff363a3d255af795fe231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f21ae8c96f451ae0a901c45c10f8b51638b6278846ff363a3d255af795fe231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f21ae8c96f451ae0a901c45c10f8b51638b6278846ff363a3d255af795fe231", kill_on_drop: false }` [INFO] [stdout] 3f21ae8c96f451ae0a901c45c10f8b51638b6278846ff363a3d255af795fe231 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae1bddf8f0b40604f8fffdccdd92bc5b8b7d3dd91ffc61428b77b25d5bf9205 [INFO] running `Command { std: "docker" "start" "-a" "6ae1bddf8f0b40604f8fffdccdd92bc5b8b7d3dd91ffc61428b77b25d5bf9205", kill_on_drop: false }` [INFO] [stderr] Checking librustpiyin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | box create_db_from_csv(string.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 21 | Box::new(create_db_from_csv(string.as_slice())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | box create_db_from_csv(string.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 21 | Box::new(create_db_from_csv(string.as_slice())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / box pinyin2suggestion( [INFO] [stdout] 81 | | db, [INFO] [stdout] 82 | | pinyin.as_slice() [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 80 ~ Box::new(pinyin2suggestion( [INFO] [stdout] 81 + db, [INFO] [stdout] 82 + pinyin.as_slice() [INFO] [stdout] 83 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / box pinyin2suggestion( [INFO] [stdout] 81 | | db, [INFO] [stdout] 82 | | pinyin.as_slice() [INFO] [stdout] 83 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 80 ~ Box::new(pinyin2suggestion( [INFO] [stdout] 81 + db, [INFO] [stdout] 82 + pinyin.as_slice() [INFO] [stdout] 83 + )) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | box string_to_tokens_as_strings(pinyin.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 | Box::new(string_to_tokens_as_strings(pinyin.as_slice())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/c_binding.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | box string_to_tokens_as_strings(pinyin.as_slice()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 98 | Box::new(string_to_tokens_as_strings(pinyin.as_slice())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/pinyin/myfile.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fd: box filedesc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 | fd: Box::new(filedesc), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/pinyin/myfile.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | fd: box filedesc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 58 | fd: Box::new(filedesc), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/pinyin/myfile.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fd: box filedesc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 79 | fd: Box::new(filedesc), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/pinyin/myfile.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | fd: box filedesc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 79 | fd: Box::new(filedesc), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/c_binding.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/c_binding.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/pinyin/myfile.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `native` [INFO] [stdout] --> src/pinyin/myfile.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustrt` [INFO] [stdout] --> src/pinyin/myfile.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustrt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustrt` [INFO] [stdout] --> src/pinyin/myfile.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rustrt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/pinyin/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `serialize` [INFO] [stdout] --> src/pinyin/db.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::c_str` [INFO] [stdout] --> src/c_binding.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::c_str::CString; [INFO] [stdout] | ^^^^^ could not find `c_str` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::c_str` [INFO] [stdout] --> src/c_binding.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | use std::c_str::CString; [INFO] [stdout] | ^^^^^ could not find `c_str` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::string::raw` [INFO] [stdout] --> src/c_binding.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::string::raw::from_buf; [INFO] [stdout] | ^^^ could not find `raw` in `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::string::raw` [INFO] [stdout] --> src/c_binding.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use std::string::raw::from_buf; [INFO] [stdout] | ^^^ could not find `raw` in `string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/pinyin/myfile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/pinyin/myfile.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::standard_error` [INFO] [stdout] --> src/pinyin/myfile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::standard_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `standard_error` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::standard_error` [INFO] [stdout] --> src/pinyin/myfile.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::standard_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `standard_error` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/pinyin/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader` [INFO] [stdout] --> src/pinyin/db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufferedReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedWriter` [INFO] [stdout] --> src/pinyin/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedWriter` [INFO] [stdout] --> src/pinyin/db.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/pinyin/db.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, hashmap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `hashmap` in `collections` [INFO] [stdout] | help: a similar name exists in the module: `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap` [INFO] [stdout] --> src/pinyin/db.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::TreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BTreeMap` [INFO] [stdout] | no `TreeMap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::sip` [INFO] [stdout] --> src/pinyin/db.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::sip::SipHasher; [INFO] [stdout] | ^^^ could not find `sip` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hashmap` [INFO] [stdout] --> src/pinyin/db.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::{HashMap, hashmap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `hashmap` in `collections` [INFO] [stdout] | help: a similar name exists in the module: `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::TreeMap` [INFO] [stdout] --> src/pinyin/db.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::TreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `BTreeMap` [INFO] [stdout] | no `TreeMap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::hash::sip` [INFO] [stdout] --> src/pinyin/db.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::hash::sip::SipHasher; [INFO] [stdout] | ^^^ could not find `sip` in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/db.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => fail!(e) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fail!(e); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | fail!(e); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | fail!(e); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `fail` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | fail!(e); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[deriving(Clone, Eq, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[deriving(Clone, Eq, PartialEq, PartialOrd)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/c_binding.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { (*suggestions)[index as uint].to_c_str().unwrap() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/c_binding.rs:130:38 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { (*suggestions)[index as uint].to_c_str().unwrap() } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | last_nread: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Writer for MyFile { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | last_nread: int, [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | impl Writer for MyFile { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | Err(_) => Err(standard_error(io::EndOfFile)) [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Reader for MyFile { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:24:47 [INFO] [stdout] | [INFO] [stdout] 24 | Err(_) => Err(standard_error(io::EndOfFile)) [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl Reader for MyFile { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | impl Reader for MyFile { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | fn read(&mut self, buf: &mut [u8]) -> IoResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 29 | impl Reader for MyFile { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | 0 => Err(standard_error(io::EndOfFile)), [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | 0 => Err(standard_error(io::EndOfFile)), [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | _ => Ok(read as uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:38:37 [INFO] [stdout] | [INFO] [stdout] 38 | _ => Ok(read as uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | Err(_) => Err(standard_error(io::EndOfFile)) [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EndOfFile` in module `io` [INFO] [stdout] --> src/pinyin/myfile.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | Err(_) => Err(standard_error(io::EndOfFile)) [INFO] [stdout] | ^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn open_read_only(path: &Path) -> MyFile { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn open_read_only(path: &Path) -> MyFile { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn open_write_only(path: &Path) -> MyFile { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/pinyin/myfile.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn open_write_only(path: &Path) -> MyFile { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 68 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/parser.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | static MAX_FINAL_SIZE: uint = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/pinyin/db.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | let path = Path::new(fname); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub frequency: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/parser.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | static MAX_FINAL_SIZE: uint = 4; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(sinogram:String, frequency:uint) -> DbEntry { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | pub frequency: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn cmp(&self,other: &DbEntry) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(sinogram:String, frequency:uint) -> DbEntry { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope [INFO] [stdout] --> src/pinyin/dbentry.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn cmp(&self,other: &DbEntry) -> Ordering { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/pinyin/db.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | let frequency = from_str(iter.next().unwrap()).unwrap_or(0u); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/pinyin/db.rs:43:66 [INFO] [stdout] | [INFO] [stdout] 43 | let frequency = from_str(iter.next().unwrap()).unwrap_or(0u); [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate libc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | pub extern fn db_new(fname: *const libc::c_char) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | pub extern fn db_new(fname: *const libc::c_char) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern fn db_dump(db: &PinyinDB, fname: *const libc::c_char) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 32 | pub extern fn db_dump(db: &PinyinDB, fname: *const libc::c_char) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pinyin_raw: *const libc::c_char, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | pinyin_raw: *const libc::c_char, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | sinograms_raw: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | sinograms_raw: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pinyin_raw_string: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | pinyin_raw_string: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pinyin_raw_string: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> *const libc::c_char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | pinyin_raw_string: *const libc::c_char [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stdout] --> src/c_binding.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | ) -> *const libc::c_char { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #27812 for more information [INFO] [stdout] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/pinyin/db.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let frequency = from_str(iter.next().unwrap()).unwrap_or(0u); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/pinyin/db.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | let frequency = from_str(iter.next().unwrap()).unwrap_or(0u); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `librustpiyin` (lib) due to 53 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `librustpiyin` (lib test) due to 53 previous errors [INFO] running `Command { std: "docker" "inspect" "6ae1bddf8f0b40604f8fffdccdd92bc5b8b7d3dd91ffc61428b77b25d5bf9205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae1bddf8f0b40604f8fffdccdd92bc5b8b7d3dd91ffc61428b77b25d5bf9205", kill_on_drop: false }` [INFO] [stdout] 6ae1bddf8f0b40604f8fffdccdd92bc5b8b7d3dd91ffc61428b77b25d5bf9205 [INFO] checking pinyin-tools/librustpinyin against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpinyin-tools%2Flibrustpinyin" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pinyin-tools/librustpinyin on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pinyin-tools/librustpinyin [INFO] finished tweaking git repo https://github.com/pinyin-tools/librustpinyin [INFO] tweaked toml for git repo https://github.com/pinyin-tools/librustpinyin written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pinyin-tools/librustpinyin 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc1a6e40fffd35dceae4b9327e2f5de6d6c1413700a87bbbe71c234bc6bfa380 [INFO] running `Command { std: "docker" "start" "-a" "fc1a6e40fffd35dceae4b9327e2f5de6d6c1413700a87bbbe71c234bc6bfa380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc1a6e40fffd35dceae4b9327e2f5de6d6c1413700a87bbbe71c234bc6bfa380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1a6e40fffd35dceae4b9327e2f5de6d6c1413700a87bbbe71c234bc6bfa380", kill_on_drop: false }` [INFO] [stdout] fc1a6e40fffd35dceae4b9327e2f5de6d6c1413700a87bbbe71c234bc6bfa380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 446f16a7b5f32c90c07b89164d054ea8b3e126d3e69a242cf8532a532e794d1a [INFO] running `Command { std: "docker" "start" "-a" "446f16a7b5f32c90c07b89164d054ea8b3e126d3e69a242cf8532a532e794d1a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "446f16a7b5f32c90c07b89164d054ea8b3e126d3e69a242cf8532a532e794d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "446f16a7b5f32c90c07b89164d054ea8b3e126d3e69a242cf8532a532e794d1a", kill_on_drop: false }` [INFO] [stdout] 446f16a7b5f32c90c07b89164d054ea8b3e126d3e69a242cf8532a532e794d1a