[INFO] cloning repository https://github.com/alspinu/commercetools-rust-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alspinu/commercetools-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falspinu%2Fcommercetools-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falspinu%2Fcommercetools-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5da665abbead674d3c452856130ed96e2759acfe [INFO] checking alspinu/commercetools-rust-sdk against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falspinu%2Fcommercetools-rust-sdk" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alspinu/commercetools-rust-sdk [INFO] finished tweaking git repo https://github.com/alspinu/commercetools-rust-sdk [INFO] tweaked toml for git repo https://github.com/alspinu/commercetools-rust-sdk written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alspinu/commercetools-rust-sdk on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alspinu/commercetools-rust-sdk 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.70 [INFO] [stderr] Downloaded reqwest v0.12.0 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded h2 v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dd9ee0d05a93d9ce7bca692c86baf620110e173b94c273052e9ba0cdef71bfe [INFO] running `Command { std: "docker" "start" "-a" "2dd9ee0d05a93d9ce7bca692c86baf620110e173b94c273052e9ba0cdef71bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dd9ee0d05a93d9ce7bca692c86baf620110e173b94c273052e9ba0cdef71bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd9ee0d05a93d9ce7bca692c86baf620110e173b94c273052e9ba0cdef71bfe", kill_on_drop: false }` [INFO] [stdout] 2dd9ee0d05a93d9ce7bca692c86baf620110e173b94c273052e9ba0cdef71bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfeeb346a4b8b8f5cfcb153cae1fa59b410d5155f70288fb66613de47d7ad88 [INFO] running `Command { std: "docker" "start" "-a" "9bfeeb346a4b8b8f5cfcb153cae1fa59b410d5155f70288fb66613de47d7ad88", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.0 [INFO] [stderr] Checking ct-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | let parsedToken = json::parse(&text).unwrap(); [INFO] [stdout] | ----------- ^^^^^ expected `&str`, found `&Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Result` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/json-0.12.4/src/parser.rs:761:8 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn parse(source: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | let parsedToken = json::parse(&text).unwrap(); [INFO] [stdout] | ----------- ^^^^^ expected `&str`, found `&Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Result` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/json-0.12.4/src/parser.rs:761:8 [INFO] [stdout] | [INFO] [stdout] 761 | pub fn parse(source: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | print!("Token: {:?}", Token::from(parsedToken)); [INFO] [stdout] | ----------- ^^^^^^^^^^^ expected `Token`, found `JsonValue` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/core/src/convert/mod.rs:592:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | print!("Token: {:?}", Token::from(parsedToken)); [INFO] [stdout] | ----------- ^^^^^^^^^^^ expected `Token`, found `JsonValue` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f77b5bc6c7c84df104f86b0dd01d9490e3923fa8/library/core/src/convert/mod.rs:592:8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ct-rs` (bin "ct-rs" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ct-rs` (bin "ct-rs") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9bfeeb346a4b8b8f5cfcb153cae1fa59b410d5155f70288fb66613de47d7ad88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfeeb346a4b8b8f5cfcb153cae1fa59b410d5155f70288fb66613de47d7ad88", kill_on_drop: false }` [INFO] [stdout] 9bfeeb346a4b8b8f5cfcb153cae1fa59b410d5155f70288fb66613de47d7ad88