[INFO] cloning repository https://github.com/ilpvc/rustSample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilpvc/rustSample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filpvc%2FrustSample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filpvc%2FrustSample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 795c2299b3e40aa28b32fc5c97aea62fbcc34c54 [INFO] checking ilpvc/rustSample against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filpvc%2FrustSample" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ilpvc/rustSample on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ilpvc/rustSample [INFO] finished tweaking git repo https://github.com/ilpvc/rustSample [INFO] tweaked toml for git repo https://github.com/ilpvc/rustSample written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ilpvc/rustSample 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mysql v24.0.0 [INFO] [stderr] Downloaded derive_utils v0.14.1 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2732bd0c4f154ef5afcce27e6a0b4633bb25f57cc4a9ca38eba74ae221ba818 [INFO] running `Command { std: "docker" "start" "-a" "a2732bd0c4f154ef5afcce27e6a0b4633bb25f57cc4a9ca38eba74ae221ba818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2732bd0c4f154ef5afcce27e6a0b4633bb25f57cc4a9ca38eba74ae221ba818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2732bd0c4f154ef5afcce27e6a0b4633bb25f57cc4a9ca38eba74ae221ba818", kill_on_drop: false }` [INFO] [stdout] a2732bd0c4f154ef5afcce27e6a0b4633bb25f57cc4a9ca38eba74ae221ba818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28eda1f85d9179b4c0bae49997886844dbb8bb477f795d45a02d740c86701e65 [INFO] running `Command { std: "docker" "start" "-a" "28eda1f85d9179b4c0bae49997886844dbb8bb477f795d45a02d740c86701e65", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rust_decimal v1.34.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rusqlite` is imported redundantly [INFO] [stdout] --> src/sql/sqlite/curd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite; [INFO] [stdout] | ^^^^^^^^ the item `rusqlite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rusqlite` is imported redundantly [INFO] [stdout] --> src/sql/sqlite/curd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite; [INFO] [stdout] | ^^^^^^^^ the item `rusqlite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread/thread_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | / /** [INFO] [stdout] 7 | | * 由于 Rust 的测试框架(如 cargo test)会自动启动和管理测试线程, [INFO] [stdout] 8 | | * 它们会等待所有线程执行完成,以确保测试的正确性。因此,在测试中,所有 [INFO] [stdout] 9 | | * 的线程会被按顺序执行,而不是并发执行,这样可以更容易地观察和理解输出, [INFO] [stdout] 10 | | * 同时也确保测试的可重复性。 [INFO] [stdout] 11 | | */ [INFO] [stdout] | |__________^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | let mut handles = vec![]; [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/sql/sqlite/curd.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_connect` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_connect() -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_table() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_person` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn insert_person(person: Person) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_all_person` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn select_all_person() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn select_person_by_id(id:i32) -> Person{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_person_by_id(person: Person) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn delete_person_by_id(id:i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_connect` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn create_connect() -> PooledConn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dept_table` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_dept_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_dept` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_dept(dept: Dept) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn select_by_id(ids: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_all_dept` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn select_all_dept() -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_dept_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete_dept_by_id(id:i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_dept_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn update_dept_by_id(dept: Dept) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dept` is never constructed [INFO] [stdout] --> src/sql/mysql/dept.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dept{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/codec/base16_codec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn encode(data: &[u8]) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/codec/base16_codec.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(data: &[char]) -> Option>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/normal/linked_list.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `len`, and `stringify` are never used [INFO] [stdout] --> src/normal/linked_list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn append(self, elem: i32) -> List { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn stringify(&self)->String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.81s [INFO] running `Command { std: "docker" "inspect" "28eda1f85d9179b4c0bae49997886844dbb8bb477f795d45a02d740c86701e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28eda1f85d9179b4c0bae49997886844dbb8bb477f795d45a02d740c86701e65", kill_on_drop: false }` [INFO] [stdout] 28eda1f85d9179b4c0bae49997886844dbb8bb477f795d45a02d740c86701e65 [INFO] checking ilpvc/rustSample against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filpvc%2FrustSample" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ilpvc/rustSample on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ilpvc/rustSample [INFO] finished tweaking git repo https://github.com/ilpvc/rustSample [INFO] tweaked toml for git repo https://github.com/ilpvc/rustSample written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ilpvc/rustSample 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c250288b528eb874b2a1b1070d2eccbda0d4032cf495e3ab6b13970de075ba8 [INFO] running `Command { std: "docker" "start" "-a" "2c250288b528eb874b2a1b1070d2eccbda0d4032cf495e3ab6b13970de075ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c250288b528eb874b2a1b1070d2eccbda0d4032cf495e3ab6b13970de075ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c250288b528eb874b2a1b1070d2eccbda0d4032cf495e3ab6b13970de075ba8", kill_on_drop: false }` [INFO] [stdout] 2c250288b528eb874b2a1b1070d2eccbda0d4032cf495e3ab6b13970de075ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222e4dad0f8ff371a9c47c174a347ce7643271daefdc694ea54131f5d8066d85 [INFO] running `Command { std: "docker" "start" "-a" "222e4dad0f8ff371a9c47c174a347ce7643271daefdc694ea54131f5d8066d85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling rust_decimal v1.34.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Compiling mysql v24.0.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking hashlink v0.9.0 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling mysql-common-derive v0.30.2 [INFO] [stderr] Compiling mysql_common v0.30.6 [INFO] [stderr] Checking net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `rusqlite` is imported redundantly [INFO] [stdout] --> src/sql/sqlite/curd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite; [INFO] [stdout] | ^^^^^^^^ the item `rusqlite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rusqlite` is imported redundantly [INFO] [stdout] --> src/sql/sqlite/curd.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rusqlite; [INFO] [stdout] | ^^^^^^^^ the item `rusqlite` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/thread/thread_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | / /** [INFO] [stdout] 7 | | * 由于 Rust 的测试框架(如 cargo test)会自动启动和管理测试线程, [INFO] [stdout] 8 | | * 它们会等待所有线程执行完成,以确保测试的正确性。因此,在测试中,所有 [INFO] [stdout] 9 | | * 的线程会被按顺序执行,而不是并发执行,这样可以更容易地观察和理解输出, [INFO] [stdout] 10 | | * 同时也确保测试的可重复性。 [INFO] [stdout] 11 | | */ [INFO] [stdout] | |__________^ [INFO] [stdout] 12 | [INFO] [stdout] 13 | let mut handles = vec![]; [INFO] [stdout] | ------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Person` is never constructed [INFO] [stdout] --> src/sql/sqlite/curd.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_connect` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_connect() -> Connection { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn create_table() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_person` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn insert_person(person: Person) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_all_person` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn select_all_person() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn select_person_by_id(id:i32) -> Person{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn update_person_by_id(person: Person) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_person_by_id` is never used [INFO] [stdout] --> src/sql/sqlite/curd.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn delete_person_by_id(id:i32) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_connect` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn create_connect() -> PooledConn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_dept_table` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn create_dept_table() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_dept` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_dept(dept: Dept) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn select_by_id(ids: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_all_dept` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn select_all_dept() -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_dept_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn delete_dept_by_id(id:i32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_dept_by_id` is never used [INFO] [stdout] --> src/sql/mysql/curd.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn update_dept_by_id(dept: Dept) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dept` is never constructed [INFO] [stdout] --> src/sql/mysql/dept.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Dept{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/codec/base16_codec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn encode(data: &[u8]) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/codec/base16_codec.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(data: &[char]) -> Option>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/normal/linked_list.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `len`, and `stringify` are never used [INFO] [stdout] --> src/normal/linked_list.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn append(self, elem: i32) -> List { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn len(&self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn stringify(&self)->String{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.65s [INFO] running `Command { std: "docker" "inspect" "222e4dad0f8ff371a9c47c174a347ce7643271daefdc694ea54131f5d8066d85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222e4dad0f8ff371a9c47c174a347ce7643271daefdc694ea54131f5d8066d85", kill_on_drop: false }` [INFO] [stdout] 222e4dad0f8ff371a9c47c174a347ce7643271daefdc694ea54131f5d8066d85