[INFO] fetching crate tgo 0.1.0... [INFO] checking tgo-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tgo 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate tgo 0.1.0 [INFO] finished tweaking crates.io crate tgo 0.1.0 [INFO] tweaked toml for crates.io crate tgo 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tgo 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea2f2847c0e5ed5b6180315ba3ded3cb27d8a7dde2f4559529986499fe19b11 [INFO] running `Command { std: "docker" "start" "-a" "6ea2f2847c0e5ed5b6180315ba3ded3cb27d8a7dde2f4559529986499fe19b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea2f2847c0e5ed5b6180315ba3ded3cb27d8a7dde2f4559529986499fe19b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea2f2847c0e5ed5b6180315ba3ded3cb27d8a7dde2f4559529986499fe19b11", kill_on_drop: false }` [INFO] [stdout] 6ea2f2847c0e5ed5b6180315ba3ded3cb27d8a7dde2f4559529986499fe19b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf8e719196704317bdea3cd80572f266467f02d174db970d2ad986723eaa924 [INFO] running `Command { std: "docker" "start" "-a" "6bf8e719196704317bdea3cd80572f266467f02d174db970d2ad986723eaa924", kill_on_drop: false }` [INFO] [stderr] Checking tgo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/rust.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/rust.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/golang.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/golang.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/python.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/python.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/yaml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/yaml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/toml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/toml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/xml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/xml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/sql.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/sql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/java.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/java.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/protobuf.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/protobuf.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/typescript.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/typescript.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/json.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/rust.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/json.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/rust.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/golang.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/golang.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/python.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/python.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/yaml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/yaml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/toml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/toml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/xml.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/xml.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/sql.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/sql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/java.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/java.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/protobuf.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/protobuf.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/typescript.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/typescript.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/interface/json.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | fn on(&self, value: &str) -> Result, TransformError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shapes` [INFO] [stdout] --> src/interface/json.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn to(&self, shapes: Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_shapes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/shape.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | /// `None` 空, `nil` / `null` / `none` [INFO] [stdout] 7 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | /// `Any` 范型,`interface` / `any` / `T` [INFO] [stdout] 9 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// `Number` 整数 [INFO] [stdout] 15 | Number(NumberShape), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// `String` 字符串 [INFO] [stdout] 17 | String(StringShape), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Optional(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | /// `Array` 数组 [INFO] [stdout] 23 | Array { t: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// `Tuple` 元组: 类型数组+长度 [INFO] [stdout] 25 | Tuple(Vec, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | /// `Struct` 结构体: 用数组来描述 [INFO] [stdout] 27 | Struct(Vec<(String, Shape)>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | /// `Map` hash类型 [INFO] [stdout] 29 | Map { ft: Box, vt: Box }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/shape.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum NumberShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 34 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Int32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Int64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Uint32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Uint64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Float32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Float64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Default`, `Char`, `Varchar`, and `Text` are never constructed [INFO] [stdout] --> src/shape.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StringShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 45 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Varchar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/shape.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Shape { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 5 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | /// `None` 空, `nil` / `null` / `none` [INFO] [stdout] 7 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | /// `Any` 范型,`interface` / `any` / `T` [INFO] [stdout] 9 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Boolean, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// `Number` 整数 [INFO] [stdout] 15 | Number(NumberShape), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | /// `String` 字符串 [INFO] [stdout] 17 | String(StringShape), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Optional(Box), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | /// `Array` 数组 [INFO] [stdout] 23 | Array { t: Box }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | /// `Tuple` 元组: 类型数组+长度 [INFO] [stdout] 25 | Tuple(Vec, usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | /// `Struct` 结构体: 用数组来描述 [INFO] [stdout] 27 | Struct(Vec<(String, Shape)>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | /// `Map` hash类型 [INFO] [stdout] 29 | Map { ft: Box, vt: Box }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/shape.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum NumberShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 34 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | Int32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Int64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | Uint32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | Uint64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Float32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Float64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Default`, `Char`, `Varchar`, and `Text` are never constructed [INFO] [stdout] --> src/shape.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum StringShape { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 45 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Varchar, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Text, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "6bf8e719196704317bdea3cd80572f266467f02d174db970d2ad986723eaa924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf8e719196704317bdea3cd80572f266467f02d174db970d2ad986723eaa924", kill_on_drop: false }` [INFO] [stdout] 6bf8e719196704317bdea3cd80572f266467f02d174db970d2ad986723eaa924