[INFO] fetching crate privchat-protocol 0.1.1...
[INFO] testing privchat-protocol-0.1.1 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate privchat-protocol 0.1.1 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate privchat-protocol 0.1.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate privchat-protocol 0.1.1
[INFO] tweaked toml for crates.io crate privchat-protocol 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate privchat-protocol 0.1.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate privchat-protocol 0.1.1 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43
[INFO] running `Command { std: "docker" "start" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling privchat-protocol v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused dependency `num-bigint`
[INFO] [stderr]  --> Cargo.toml:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | [dependencies.num-bigint]
[INFO] [stderr]   |               ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `num-bigint`
[INFO] [stderr] warning: `privchat-protocol` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.73s
[INFO] running `Command { std: "docker" "inspect" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling privchat-protocol v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `version`
[INFO] [stdout]   --> examples/basic_usage.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         version: 1,
[INFO] [stdout]    |         ^^^^^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `device_id`
[INFO] [stdout]   --> examples/basic_usage.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         device_id: "device_123".to_string(),
[INFO] [stdout]    |         ^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 27 -         device_id: "device_123".to_string(),
[INFO] [stdout] 27 +         device_info: "device_123".to_string(),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `device_flag`
[INFO] [stdout]   --> examples/basic_usage.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         device_flag: 1,
[INFO] [stdout]    |         ^^^^^^^^^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `client_timestamp`
[INFO] [stdout]   --> examples/basic_usage.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         client_timestamp: 1234567890,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `uid`
[INFO] [stdout]   --> examples/basic_usage.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         uid: "user_123".to_string(),
[INFO] [stdout]    |         ^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `token`
[INFO] [stdout]   --> examples/basic_usage.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |         token: "secret_token".to_string(),
[INFO] [stdout]    |         ^^^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationRequest` has no field named `client_key`
[INFO] [stdout]   --> examples/basic_usage.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         client_key: "client_public_key".to_string(),
[INFO] [stdout]    |         ^^^^^^^^^^ `privchat_protocol::AuthorizationRequest` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `auth_type`, `auth_token`, `client_info`, `device_info`, `protocol_version`, `properties`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `protocol_version`
[INFO] [stdout]   --> examples/basic_usage.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         protocol_version: 1,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `server_key`
[INFO] [stdout]   --> examples/basic_usage.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         server_key: "server_public_key".to_string(),
[INFO] [stdout]    |         ^^^^^^^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `salt`
[INFO] [stdout]   --> examples/basic_usage.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |         salt: "random_salt".to_string(),
[INFO] [stdout]    |         ^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `time_diff`
[INFO] [stdout]   --> examples/basic_usage.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         time_diff: BigInt::from(100),
[INFO] [stdout]    |         ^^^^^^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `reason_code`
[INFO] [stdout]   --> examples/basic_usage.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         reason_code: 0,
[INFO] [stdout]    |         ^^^^^^^^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::AuthorizationResponse` has no field named `node_id`
[INFO] [stdout]   --> examples/basic_usage.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         node_id: BigInt::from(1),
[INFO] [stdout]    |         ^^^^^^^ `privchat_protocol::AuthorizationResponse` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `success`, `error_code`, `error_message`, `session_id`, `user_id` ... and 3 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/basic_usage.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |         server_message_id: BigInt::from(999),
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^ expected `u64`, found `BigInt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `privchat_protocol::DisconnectRequest` has no field named `reason_code`
[INFO] [stdout]    --> examples/basic_usage.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         reason_code: 0,
[INFO] [stdout]     |         ^^^^^^^^^^^ `privchat_protocol::DisconnectRequest` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `success` found for struct `privchat_protocol::DisconnectResponse` in the current scope
[INFO] [stdout]    --> examples/basic_usage.rs:127:47
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let disconnect_resp = DisconnectResponse::success();
[INFO] [stdout]     |                                               ^^^^^^^ associated function or constant not found in `privchat_protocol::DisconnectResponse`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `privchat_protocol::DisconnectResponse`, consider using `privchat_protocol::DisconnectResponse::new` which returns `privchat_protocol::DisconnectResponse`
[INFO] [stdout]    --> src/protocol.rs:835:5
[INFO] [stdout]     |
[INFO] [stdout] 835 |     pub fn new() -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:136:27
[INFO] [stdout]     |
[INFO] [stdout] 136 |         local_message_id: "sub_001".to_string(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:137:21
[INFO] [stdout]     |
[INFO] [stdout] 137 |         channel_id: "news_channel".to_string(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:144:27
[INFO] [stdout]     |
[INFO] [stdout] 144 |         local_message_id: "sub_001".to_string(),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:145:21
[INFO] [stdout]     |
[INFO] [stdout] 145 |         channel_id: "news_channel".to_string(),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:159:33
[INFO] [stdout]     |
[INFO] [stdout] 159 |         msg.server_message_id = BigInt::from(i);
[INFO] [stdout]     |         ---------------------   ^^^^^^^^^^^^^^^ expected `u64`, found `BigInt`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         expected due to the type of this binding
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:160:24
[INFO] [stdout]     |
[INFO] [stdout] 160 |         msg.from_uid = format!("user_{}", i);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:174:37
[INFO] [stdout]     |
[INFO] [stdout] 174 |         PublishRequest::system_push("news_channel", "系统通知消息".as_bytes().to_vec());
[INFO] [stdout]     |         --------------------------- ^^^^^^^^^^^^^^ expected `u64`, found `&str`
[INFO] [stdout]     |         |
[INFO] [stdout]     |         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/protocol.rs:614:12
[INFO] [stdout]     |
[INFO] [stdout] 614 |     pub fn system_push(channel_id: u64, payload: Vec<u8>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> examples/basic_usage.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         reason: "用户主动断开".to_string(),
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `DisconnectReason`, found `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0560, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `privchat-protocol` (example "basic_usage") due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: unused dependency `num-bigint`
[INFO] [stderr]  --> Cargo.toml:5:15
[INFO] [stderr]   |
[INFO] [stderr] 5 | [dependencies.num-bigint]
[INFO] [stderr]   |               ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `num-bigint`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `privchat-protocol` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43", kill_on_drop: false }`
[INFO] [stdout] 043ce0c922fc765e466651ed246fe84c50486553a8499c9e247c0d1b5355bb43
