[INFO] fetching crate extern-trait 0.4.1... [INFO] checking extern-trait-0.4.1 against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] extracting crate extern-trait 0.4.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate extern-trait 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate extern-trait 0.4.1 [INFO] tweaked toml for crates.io crate extern-trait 0.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate extern-trait 0.4.1 on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate extern-trait 0.4.1 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc61640e46c4f57e018e9631b015a3b33a0f2d5d311972936c910e735b37ae7 [INFO] running `Command { std: "docker" "start" "-a" "dcc61640e46c4f57e018e9631b015a3b33a0f2d5d311972936c910e735b37ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc61640e46c4f57e018e9631b015a3b33a0f2d5d311972936c910e735b37ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc61640e46c4f57e018e9631b015a3b33a0f2d5d311972936c910e735b37ae7", kill_on_drop: false }` [INFO] [stdout] dcc61640e46c4f57e018e9631b015a3b33a0f2d5d311972936c910e735b37ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285fe8ba57b048485ee661382dda835eb548aa3fc0c2fc6f8ff2b96e33dc063a [INFO] running `Command { std: "docker" "start" "-a" "285fe8ba57b048485ee661382dda835eb548aa3fc0c2fc6f8ff2b96e33dc063a", kill_on_drop: false }` [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling extern-trait-impl v0.4.1 [INFO] [stderr] Checking extern-trait v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/renamed.rs:4:41 [INFO] [stdout] | [INFO] [stdout] 4 | #[extern_trait(crate = my_extern_trait, RenamedProxy)] [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 5 | | trait Renamed { [INFO] [stdout] 6 | | fn value(&self) -> i32; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/atomic.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[extern_trait(AtomicProxy)] [INFO] [stdout] | ________________^ [INFO] [stdout] 4 | | trait Atomic { [INFO] [stdout] 5 | | fn new(v: i32) -> Self; [INFO] [stdout] 6 | | fn get(&self) -> i32; [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/atomic.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[extern_trait(AtomicProxy)] [INFO] [stdout] | ________________^ [INFO] [stdout] 4 | | trait Atomic { [INFO] [stdout] 5 | | fn new(v: i32) -> Self; [INFO] [stdout] 6 | | fn get(&self) -> i32; [INFO] [stdout] 7 | | fn set(&self, v: i32); [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/tuple.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | #[extern_trait(TupleProxy)] [INFO] [stdout] | ________________^ [INFO] [stdout] 10 | | trait Tuple { [INFO] [stdout] 11 | | fn new(a: Elem, b: Elem, c: Elem, d: Elem) -> Self; [INFO] [stdout] 12 | | fn get(&self) -> (Elem, Elem, Elem, Elem); [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extern-trait` (test "renamed") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `extern-trait` (test "tuple") due to 1 previous error [INFO] [stderr] error: could not compile `extern-trait` (test "atomic") due to 2 previous errors [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/by_value.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[extern_trait(CounterProxy)] [INFO] [stdout] | ________________^ [INFO] [stdout] 4 | | trait Counter { [INFO] [stdout] 5 | | fn new(value: u64) -> Self; [INFO] [stdout] 6 | | fn get(&self) -> u64; [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/arc.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[extern_trait(ResourceProxy)] [INFO] [stdout] | ________________^ [INFO] [stdout] 6 | | trait Resource: Send + Sync + AsRef + Debug + Default + Clone { [INFO] [stdout] 7 | | fn new() -> Self; [INFO] [stdout] 8 | | fn count(&self) -> usize; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extern-trait` (test "by_value") due to 1 previous error [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> tests/arc.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[extern_trait(ResourceProxy)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: this error originates in the attribute macro `extern_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `extern-trait` (test "arc") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "285fe8ba57b048485ee661382dda835eb548aa3fc0c2fc6f8ff2b96e33dc063a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285fe8ba57b048485ee661382dda835eb548aa3fc0c2fc6f8ff2b96e33dc063a", kill_on_drop: false }` [INFO] [stdout] 285fe8ba57b048485ee661382dda835eb548aa3fc0c2fc6f8ff2b96e33dc063a