[INFO] cloning repository https://github.com/charSLee013/Image-Prediction-Service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charSLee013/Image-Prediction-Service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcharSLee013%2FImage-Prediction-Service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcharSLee013%2FImage-Prediction-Service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51027e548182f12534403f3f9238b91512001d6a [INFO] testing charSLee013/Image-Prediction-Service against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcharSLee013%2FImage-Prediction-Service" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/charSLee013/Image-Prediction-Service [INFO] finished tweaking git repo https://github.com/charSLee013/Image-Prediction-Service [INFO] tweaked toml for git repo https://github.com/charSLee013/Image-Prediction-Service written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/charSLee013/Image-Prediction-Service on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/charSLee013/Image-Prediction-Service 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-streams v0.3.0 [INFO] [stderr] Downloaded prost-build v0.12.0 [INFO] [stderr] Downloaded tonic-build v0.10.0 [INFO] [stderr] Downloaded matchit v0.7.2 [INFO] [stderr] Downloaded thread-id v4.2.0 [INFO] [stderr] Downloaded mockito v0.30.0 [INFO] [stderr] Downloaded unsafe-libyaml v0.2.9 [INFO] [stderr] Downloaded tonic v0.10.0 [INFO] [stderr] Downloaded prost-types v0.12.0 [INFO] [stderr] Downloaded prost-derive v0.12.0 [INFO] [stderr] Downloaded prost v0.12.0 [INFO] [stderr] Downloaded chrono v0.4.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a1017e57feb82ac246ea87793e220f99169b796ca8fcd07a3836eb93bd26212 [INFO] running `Command { std: "docker" "start" "-a" "3a1017e57feb82ac246ea87793e220f99169b796ca8fcd07a3836eb93bd26212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a1017e57feb82ac246ea87793e220f99169b796ca8fcd07a3836eb93bd26212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1017e57feb82ac246ea87793e220f99169b796ca8fcd07a3836eb93bd26212", kill_on_drop: false }` [INFO] [stdout] 3a1017e57feb82ac246ea87793e220f99169b796ca8fcd07a3836eb93bd26212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 410bd45e4da042470c95f14c7afadfc5d3c90064364045f5d9e4e32a4f17aa0b [INFO] running `Command { std: "docker" "start" "-a" "410bd45e4da042470c95f14c7afadfc5d3c90064364045f5d9e4e32a4f17aa0b", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling home v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling destructure_traitobject v0.2.0 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling base64 v0.21.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling chrono v0.4.30 [INFO] [stderr] Compiling typemap-ors v1.0.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling thread-id v4.2.0 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling outref v0.5.1 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling prost-derive v0.12.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling prost v0.12.0 [INFO] [stderr] Compiling prost-types v0.12.0 [INFO] [stderr] Compiling prost-build v0.12.0 [INFO] [stderr] Compiling tonic-build v0.10.0 [INFO] [stderr] Compiling image-prediction-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_yaml v0.9.25 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling log4rs v1.2.0 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.20 [INFO] [stderr] Compiling tonic v0.10.0 [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/proto-gen/image_prediction.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "410bd45e4da042470c95f14c7afadfc5d3c90064364045f5d9e4e32a4f17aa0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410bd45e4da042470c95f14c7afadfc5d3c90064364045f5d9e4e32a4f17aa0b", kill_on_drop: false }` [INFO] [stdout] 410bd45e4da042470c95f14c7afadfc5d3c90064364045f5d9e4e32a4f17aa0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8d4a17c27892b58965905162f69654422659671a56c617b5969bdfec9a87c74 [INFO] running `Command { std: "docker" "start" "-a" "e8d4a17c27892b58965905162f69654422659671a56c617b5969bdfec9a87c74", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling prost-build v0.12.0 [INFO] [stderr] Compiling tonic-build v0.10.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling image-prediction-service v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling mockito v0.30.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/proto-gen/image_prediction.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.67s [INFO] running `Command { std: "docker" "inspect" "e8d4a17c27892b58965905162f69654422659671a56c617b5969bdfec9a87c74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8d4a17c27892b58965905162f69654422659671a56c617b5969bdfec9a87c74", kill_on_drop: false }` [INFO] [stdout] e8d4a17c27892b58965905162f69654422659671a56c617b5969bdfec9a87c74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c035c4927286793805a0c875453ef5978ce5d6f6b55769e6305e78e5ec726d4 [INFO] running `Command { std: "docker" "start" "-a" "9c035c4927286793805a0c875453ef5978ce5d6f6b55769e6305e78e5ec726d4", kill_on_drop: false }` [INFO] [stderr] warning: struct `Error` is never constructed [INFO] [stderr] --> src/proto-gen/image_prediction.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `image-prediction-service` (bin "image-prediction-service" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_prediction_service-961355a62ba00bb4) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test config::tests::test_nonexistent_file ... ok [INFO] [stdout] test config::tests::test_invalid_yaml ... ok [INFO] [stdout] test config::tests::test_valid_yaml ... ok [INFO] [stdout] test config::tests::test_duplicate_model_names ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_response ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_model_status ... ok [INFO] [stdout] test tf_serving::predict_service::tests::test_predict_success ... ok [INFO] [stdout] test tf_serving::predict_service::tests::test_predict_invalid_json ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_model_status_error_code ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_response_error_status ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_model_status_no_array ... ok [INFO] [stdout] test tf_serving::model_status::tests::test_get_response_invalid_json ... ok [INFO] [stdout] test tf_serving::predict_service::tests::test_predict_error_status ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c035c4927286793805a0c875453ef5978ce5d6f6b55769e6305e78e5ec726d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c035c4927286793805a0c875453ef5978ce5d6f6b55769e6305e78e5ec726d4", kill_on_drop: false }` [INFO] [stdout] 9c035c4927286793805a0c875453ef5978ce5d6f6b55769e6305e78e5ec726d4