[INFO] fetching crate dairy 0.1.1... [INFO] checking dairy-0.1.1 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate dairy 0.1.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate dairy 0.1.1 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dairy 0.1.1 [INFO] finished tweaking crates.io crate dairy 0.1.1 [INFO] tweaked toml for crates.io crate dairy 0.1.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e5759cfa2c87d6ec7622a2ca7d18d482ed0474f9c3b116c86821ca2db139d19 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e5759cfa2c87d6ec7622a2ca7d18d482ed0474f9c3b116c86821ca2db139d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5759cfa2c87d6ec7622a2ca7d18d482ed0474f9c3b116c86821ca2db139d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5759cfa2c87d6ec7622a2ca7d18d482ed0474f9c3b116c86821ca2db139d19", kill_on_drop: false }` [INFO] [stdout] 8e5759cfa2c87d6ec7622a2ca7d18d482ed0474f9c3b116c86821ca2db139d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f580783b9952f75df858d8e09835c5a1cdc56614d7ae64fb49394e1946f23688 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f580783b9952f75df858d8e09835c5a1cdc56614d7ae64fb49394e1946f23688", kill_on_drop: false }` [INFO] [stderr] Checking dairy v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `dairy::Cow<'_, str>: AsRef` is not satisfied [INFO] [stdout] --> tests/str.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | let s: &OsStr = c.as_ref(); [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] as AsRef<[u8]>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dairy::Cow<'_, str>: AsRef` is not satisfied [INFO] [stdout] --> tests/str.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let p: &Path = c.as_ref(); [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] as AsRef<[u8]>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dairy::Cow<'_, str>: AsRef` is not satisfied [INFO] [stdout] --> tests/str.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let s: &OsStr = c.as_ref(); [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] as AsRef<[u8]>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dairy::Cow<'_, str>: AsRef` is not satisfied [INFO] [stdout] --> tests/str.rs:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | let p: &Path = c.as_ref(); [INFO] [stdout] | ^^^^^^ the trait `AsRef` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as AsRef> [INFO] [stdout] as AsRef<[u8]>> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsStr: Convert` is not satisfied [INFO] [stdout] --> tests/str.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Convert` is not implemented for `OsStr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | T: ?Sized + Convert, [INFO] [stdout] | ------- required by this bound in `dairy::Cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/str.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected struct `dairy::Cow`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `dairy::Cow<'_, OsStr>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsStr: Convert` is not satisfied [INFO] [stdout] --> tests/str.rs:131:38 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `Convert` is not implemented for `OsStr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | T: ?Sized + Convert, [INFO] [stdout] | ------- required by this bound in `dairy::Cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsStr: Convert` is not satisfied [INFO] [stdout] --> tests/str.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Convert` is not implemented for `OsStr` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | T: ?Sized + Convert, [INFO] [stdout] | ------- required by this bound in `dairy::Cow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsStr: Convert` is not satisfied [INFO] [stdout] --> tests/str.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Convert` is not implemented for `OsStr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `PartialEq>` for `dairy::Cow<'_, str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `OsStr: Convert` is not satisfied [INFO] [stdout] --> tests/str.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(c, Cow::::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Convert` is not implemented for `OsStr` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `dairy::Cow<'_, OsStr>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `dairy::Cow<'_, str>` with `OsStr` [INFO] [stdout] --> tests/str.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(c, *OsStr::new("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dairy::Cow<'_, str> == OsStr` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `dairy::Cow<'_, str>` with `&OsStr` [INFO] [stdout] --> tests/str.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(c, OsStr::new("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dairy::Cow<'_, str> == &OsStr` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&OsStr>` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `dairy::Cow<'_, str>` with `OsString` [INFO] [stdout] --> tests/str.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(c, OsString::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dairy::Cow<'_, str> == OsString` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `dairy::Cow<'_, str>` with `&OsString` [INFO] [stdout] --> tests/str.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(c, &OsString::from("Hello World!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `dairy::Cow<'_, str> == &OsString` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<&OsString>` is not implemented for `dairy::Cow<'_, str>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dairy` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f580783b9952f75df858d8e09835c5a1cdc56614d7ae64fb49394e1946f23688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f580783b9952f75df858d8e09835c5a1cdc56614d7ae64fb49394e1946f23688", kill_on_drop: false }` [INFO] [stdout] f580783b9952f75df858d8e09835c5a1cdc56614d7ae64fb49394e1946f23688