[INFO] fetching crate convertible 0.0.1... [INFO] checking convertible-0.0.1 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate convertible 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate convertible 0.0.1 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate convertible 0.0.1 [INFO] finished tweaking crates.io crate convertible 0.0.1 [INFO] tweaked toml for crates.io crate convertible 0.0.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc771e91ca8db25d02916c7d373bf74fed7008ca5d8303aac55cbc17fd0ddcfc [INFO] running `Command { std: "docker" "start" "-a" "cc771e91ca8db25d02916c7d373bf74fed7008ca5d8303aac55cbc17fd0ddcfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc771e91ca8db25d02916c7d373bf74fed7008ca5d8303aac55cbc17fd0ddcfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc771e91ca8db25d02916c7d373bf74fed7008ca5d8303aac55cbc17fd0ddcfc", kill_on_drop: false }` [INFO] [stdout] cc771e91ca8db25d02916c7d373bf74fed7008ca5d8303aac55cbc17fd0ddcfc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e4953a4aad78c7e273f574dd9dad632c5efdb26b148ab463578c1475aefb74 [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" "b9e4953a4aad78c7e273f574dd9dad632c5efdb26b148ab463578c1475aefb74", kill_on_drop: false }` [INFO] [stderr] Checking convertible v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Raw` is defined multiple times [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 57 | use super::{Convertible, Raw}; [INFO] [stdout] | --- previous import of the trait `Raw` here [INFO] [stdout] 58 | [INFO] [stdout] 59 | struct Raw { [INFO] [stdout] | ^^^^^^^^^^ `Raw` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Raw` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 57 | use super::{Convertible, Raw as OtherRaw}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | #![license = "MIT"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[deriving(PartialEq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | #[test] fn test_conversion() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `First` in this scope [INFO] [stdout] --> src/lib.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | "first" => Some(First), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 57 | use test::NotRaw::First; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Second` in this scope [INFO] [stdout] --> src/lib.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | "second" => Some(Second), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 57 | use test::NotRaw::Second; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Third` in this scope [INFO] [stdout] --> src/lib.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | "third" => Some(Third), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 57 | use test::NotRaw::Third; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `First` in this scope [INFO] [stdout] --> src/lib.rs:84:47 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(first.to::(), Some(First)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(first.to::(), Some(first)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 57 | use test::NotRaw::First; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Second` in this scope [INFO] [stdout] --> src/lib.rs:85:48 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(second.to::(), Some(Second)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(second.to::(), Some(second)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 57 | use test::NotRaw::Second; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `Raw` [INFO] [stdout] --> src/lib.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | use super::{Convertible, Raw}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ---- required by this bound in `Convertible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ---- required by this bound in `Coercible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `convertible` [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ---- required by this bound in `Convertible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 14 | fn to>(&self) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Convertible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ---- required by this bound in `Coercible` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 20 | fn coerce>(self) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider relaxing the implicit `Sized` restriction [INFO] [stdout] | [INFO] [stdout] 47 | pub trait Coercible { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 39 | fn convert(&From) -> Option where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 51 | fn coerce(From) -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0255, E0277, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0255`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b9e4953a4aad78c7e273f574dd9dad632c5efdb26b148ab463578c1475aefb74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e4953a4aad78c7e273f574dd9dad632c5efdb26b148ab463578c1475aefb74", kill_on_drop: false }` [INFO] [stdout] b9e4953a4aad78c7e273f574dd9dad632c5efdb26b148ab463578c1475aefb74