[INFO] cloning repository https://github.com/semtexzv/drivesync [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/semtexzv/drivesync" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemtexzv%2Fdrivesync", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemtexzv%2Fdrivesync'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c31fadbd58177e5e166a5a20f79714d98a988d98 [INFO] checking semtexzv/drivesync against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsemtexzv%2Fdrivesync" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/semtexzv/drivesync [INFO] finished tweaking git repo https://github.com/semtexzv/drivesync [INFO] tweaked toml for git repo https://github.com/semtexzv/drivesync written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/semtexzv/drivesync on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/semtexzv/drivesync 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd7778b3e35d34a194dd2eb290101446e126d7130e5c8d5e7e5b1669034514e7 [INFO] running `Command { std: "docker" "start" "-a" "cd7778b3e35d34a194dd2eb290101446e126d7130e5c8d5e7e5b1669034514e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd7778b3e35d34a194dd2eb290101446e126d7130e5c8d5e7e5b1669034514e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7778b3e35d34a194dd2eb290101446e126d7130e5c8d5e7e5b1669034514e7", kill_on_drop: false }` [INFO] [stdout] cd7778b3e35d34a194dd2eb290101446e126d7130e5c8d5e7e5b1669034514e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab7bf4e08ec6984d753090f170e8b9e9087e1f293a93affc68129bb8608da519 [INFO] running `Command { std: "docker" "start" "-a" "ab7bf4e08ec6984d753090f170e8b9e9087e1f293a93affc68129bb8608da519", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling anyhow v1.0.63 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling argh_shared v0.1.8 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking rustls-pemfile v1.0.1 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking indicatif v0.17.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling argh_derive v0.1.8 [INFO] [stderr] Checking argh v0.1.8 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking async-fn-stream v0.2.0 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking yup-oauth2 v7.0.1 [INFO] [stderr] Checking google-drive3 v4.0.1+20220225 [INFO] [stderr] Checking drivesync v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `mime` in `mime` [INFO] [stdout] --> src/main.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | let mime = mime::mime!(Application / OctetStream); [INFO] [stdout] | ^^^^ could not find `mime` in `mime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mime` in `mime` [INFO] [stdout] --> src/main.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | let mime = mime::mime!(Application / OctetStream); [INFO] [stdout] | ^^^^ could not find `mime` in `mime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:467:42 [INFO] [stdout] | [INFO] [stdout] 467 | .upload(Cursor::new(vec![]), mime) [INFO] [stdout] | ------ ^^^^ expected `mime::Mime`, found `Mime` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mime` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mime-0.3.16/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Mime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `Mime` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mime-0.2.6/src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Mime = Vec>(pub TopLevel, pub SubLevel, pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `mime::Mime` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate mime; [INFO] [stdout] | ------------------ one version of crate `mime` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | use google_drive3::{ [INFO] [stdout] | ------------- one version of crate `mime` used here, as a dependency of crate `google_drive3` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/google-drive3-4.0.1+20220225/src/api.rs:8678:18 [INFO] [stdout] | [INFO] [stdout] 8678 | pub async fn upload(self, stream: RS, mime_type: mime::Mime) -> client::Result<(hyper::Response, File)> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:467:42 [INFO] [stdout] | [INFO] [stdout] 467 | .upload(Cursor::new(vec![]), mime) [INFO] [stdout] | ------ ^^^^ expected `mime::Mime`, found `Mime` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `mime` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mime-0.3.16/src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Mime { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this is the found type `Mime` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/mime-0.2.6/src/lib.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Mime = Vec>(pub TopLevel, pub SubLevel, pub T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `mime::Mime` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate mime; [INFO] [stdout] | ------------------ one version of crate `mime` used here, as a direct dependency of the current crate [INFO] [stdout] ... [INFO] [stdout] 21 | use google_drive3::{ [INFO] [stdout] | ------------- one version of crate `mime` used here, as a dependency of crate `google_drive3` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/google-drive3-4.0.1+20220225/src/api.rs:8678:18 [INFO] [stdout] | [INFO] [stdout] 8678 | pub async fn upload(self, stream: RS, mime_type: mime::Mime) -> client::Result<(hyper::Response, File)> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `drivesync` (bin "drivesync" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `drivesync` (bin "drivesync") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ab7bf4e08ec6984d753090f170e8b9e9087e1f293a93affc68129bb8608da519", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab7bf4e08ec6984d753090f170e8b9e9087e1f293a93affc68129bb8608da519", kill_on_drop: false }` [INFO] [stdout] ab7bf4e08ec6984d753090f170e8b9e9087e1f293a93affc68129bb8608da519