[INFO] cloning repository https://github.com/ming900518/device-state-exchange-lib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ming900518/device-state-exchange-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fming900518%2Fdevice-state-exchange-lib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fming900518%2Fdevice-state-exchange-lib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d37df1f144c4e3388d3d943cfd4b2eb9588ddb1
[INFO] testing ming900518/device-state-exchange-lib against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fming900518%2Fdevice-state-exchange-lib" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain
[INFO] started tweaking git repo https://github.com/ming900518/device-state-exchange-lib
[INFO] finished tweaking git repo https://github.com/ming900518/device-state-exchange-lib
[INFO] tweaked toml for git repo https://github.com/ming900518/device-state-exchange-lib written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ming900518/device-state-exchange-lib on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ming900518/device-state-exchange-lib 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.98.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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83
[INFO] running `Command { std: "docker" "start" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", 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" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", 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" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling downcast-rs v2.0.2
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling device-state-exchange-lib v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s
[INFO] running `Command { std: "docker" "inspect" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", 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" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling device-state-exchange-lib v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", 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" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/device_state_exchange_lib-9f3fe98ffeab300c)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests device_state_exchange_lib
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - Target (line 60) ... FAILED
[INFO] [stdout] test src/lib.rs - DeviceStateResponse (line 126) ... FAILED
[INFO] [stdout] test src/lib.rs - DeviceStateRequest (line 90) ... FAILED
[INFO] [stdout] test src/lib.rs - ConnectionConfig (line 29) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - Connection::NAMES (line 174) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Target (line 60) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `impl`
[INFO] [stdout]   --> src/lib.rs:62:46
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct ExampleModbusTarget(serde_json::Value)
[INFO] [stdout]    |                                              ^ help: add `;` here
[INFO] [stdout] 63 |
[INFO] [stdout] 64 | impl Target for ExampleModbusTarget {}
[INFO] [stdout]    | ---- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Target` in this scope
[INFO] [stdout]   --> src/lib.rs:64:6
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl Target for ExampleModbusTarget {}
[INFO] [stdout]    |      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - DeviceStateResponse (line 126) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `DeviceStateResponse` in this scope
[INFO] [stdout]    --> src/lib.rs:133:6
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl DeviceStateResponse for ExampleModbusResponse {
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/lib.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 |         Value::from(self.processed_value)
[INFO] [stdout]     |         ^^^^^ use of undeclared type `Value`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - DeviceStateRequest (line 90) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `DataType` in this scope
[INFO] [stdout]   --> src/lib.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |     data_type: DataType,
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DeviceStateRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:100:6
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl DeviceStateRequest for ExampleModbusRequest {}
[INFO] [stdout]     |      ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ConnectionConfig (line 29) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `ConnectionConfig` in this scope
[INFO] [stdout]   --> src/lib.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl ConnectionConfig for ExampleModbusConnectionConfig {}
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - ConnectionConfig (line 29)
[INFO] [stdout]     src/lib.rs - DeviceStateRequest (line 90)
[INFO] [stdout]     src/lib.rs - DeviceStateResponse (line 126)
[INFO] [stdout]     src/lib.rs - Target (line 60)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.39s; merged doctests compilation took 0.12s
[INFO] running `Command { std: "docker" "inspect" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83", kill_on_drop: false }`
[INFO] [stdout] 36476f09da062ec05372ea5d6bc48705a146ec262578c08f3c61eed5e2889e83
