[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 master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcharSLee013%2FImage-Prediction-Service" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/charSLee013/Image-Prediction-Service on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 621ef57e82c38e02ab97fbaa5a3310018a20591580cd7c53e01ed71710c2372f
[INFO] running `Command { std: "docker" "start" "-a" "621ef57e82c38e02ab97fbaa5a3310018a20591580cd7c53e01ed71710c2372f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "621ef57e82c38e02ab97fbaa5a3310018a20591580cd7c53e01ed71710c2372f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "621ef57e82c38e02ab97fbaa5a3310018a20591580cd7c53e01ed71710c2372f", kill_on_drop: false }`
[INFO] [stdout] 621ef57e82c38e02ab97fbaa5a3310018a20591580cd7c53e01ed71710c2372f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1c58fb8cb2dc008a85b30c7496e28b5c94470dc14905e4147755129cd69e964
[INFO] running `Command { std: "docker" "start" "-a" "c1c58fb8cb2dc008a85b30c7496e28b5c94470dc14905e4147755129cd69e964", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling rustix v0.38.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling home v0.5.5
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.8.0
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling prettyplease v0.2.15
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling aho-corasick v1.0.5
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling base64 v0.21.3
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling clap_builder v4.4.2
[INFO] [stderr]    Compiling chrono v0.4.30
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling thread-id v4.2.0
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.9
[INFO] [stderr]    Compiling outref v0.5.1
[INFO] [stderr]    Compiling vsimd v0.8.0
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling base64-simd v0.8.0
[INFO] [stderr]    Compiling clap v4.4.2
[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-trait v0.1.73
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling prost v0.12.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling prost-types v0.12.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling prost-build v0.12.0
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tonic-build v0.10.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling serde_yaml v0.9.25
[INFO] [stderr]    Compiling image-prediction-service v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling reqwest v0.11.20
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling tonic v0.10.0
[INFO] [stderr]    Compiling log4rs v1.2.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 10m 11s
[INFO] running `Command { std: "docker" "inspect" "c1c58fb8cb2dc008a85b30c7496e28b5c94470dc14905e4147755129cd69e964", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1c58fb8cb2dc008a85b30c7496e28b5c94470dc14905e4147755129cd69e964", kill_on_drop: false }`
[INFO] [stdout] c1c58fb8cb2dc008a85b30c7496e28b5c94470dc14905e4147755129cd69e964
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 601479b3e47fc9d8865ad82561c7dee150bcd392ca0e2827e0c46dc6c9825cf6
[INFO] running `Command { std: "docker" "start" "-a" "601479b3e47fc9d8865ad82561c7dee150bcd392ca0e2827e0c46dc6c9825cf6", 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 difference v2.0.0
[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 is-terminal v0.4.9
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling colored v2.0.4
[INFO] [stderr]    Compiling image-prediction-service v0.1.0 (/opt/rustwide/workdir)
[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 1m 26s
[INFO] running `Command { std: "docker" "inspect" "601479b3e47fc9d8865ad82561c7dee150bcd392ca0e2827e0c46dc6c9825cf6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "601479b3e47fc9d8865ad82561c7dee150bcd392ca0e2827e0c46dc6c9825cf6", kill_on_drop: false }`
[INFO] [stdout] 601479b3e47fc9d8865ad82561c7dee150bcd392ca0e2827e0c46dc6c9825cf6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 40433f9c954135a2932434168a16d0ca4919c1cb96615d33f1909b6ae34e9a3e
[INFO] running `Command { std: "docker" "start" "-a" "40433f9c954135a2932434168a16d0ca4919c1cb96615d33f1909b6ae34e9a3e", 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.35s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/image_prediction_service-99821b7527455f16)
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test config::tests::test_nonexistent_file ... ok
[INFO] [stdout] test config::tests::test_duplicate_model_names ... ok
[INFO] [stdout] test config::tests::test_invalid_yaml ... ok
[INFO] [stdout] test config::tests::test_valid_yaml ... 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_model_status ... 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_no_array ... 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_response_invalid_json ... ok
[INFO] [stdout] test tf_serving::predict_service::tests::test_predict_error_status ... ok
[INFO] [stdout] test tf_serving::predict_service::tests::test_predict_invalid_json ... ok
[INFO] [stdout] test tf_serving::predict_service::tests::test_predict_success ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "40433f9c954135a2932434168a16d0ca4919c1cb96615d33f1909b6ae34e9a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40433f9c954135a2932434168a16d0ca4919c1cb96615d33f1909b6ae34e9a3e", kill_on_drop: false }`
[INFO] [stdout] 40433f9c954135a2932434168a16d0ca4919c1cb96615d33f1909b6ae34e9a3e
