[INFO] cloning repository https://github.com/ddmngz/rust-copy-update [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddmngz/rust-copy-update" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Frust-copy-update", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Frust-copy-update'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 337486519b07b8ad2396211e6f326016a6abb6bb [INFO] checking ddmngz/rust-copy-update against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddmngz%2Frust-copy-update" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ddmngz/rust-copy-update [INFO] finished tweaking git repo https://github.com/ddmngz/rust-copy-update [INFO] tweaked toml for git repo https://github.com/ddmngz/rust-copy-update written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ddmngz/rust-copy-update on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ddmngz/rust-copy-update 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbd325aa412b635480f8d6d9956b8f24d272db8c2cefdffdacc8b0aac221b12a [INFO] running `Command { std: "docker" "start" "-a" "fbd325aa412b635480f8d6d9956b8f24d272db8c2cefdffdacc8b0aac221b12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbd325aa412b635480f8d6d9956b8f24d272db8c2cefdffdacc8b0aac221b12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbd325aa412b635480f8d6d9956b8f24d272db8c2cefdffdacc8b0aac221b12a", kill_on_drop: false }` [INFO] [stdout] fbd325aa412b635480f8d6d9956b8f24d272db8c2cefdffdacc8b0aac221b12a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9de5942855b5bca7fa636f7c44a48907b08ebabd3003ab1d790d7c9f32a4ae8e [INFO] running `Command { std: "docker" "start" "-a" "9de5942855b5bca7fa636f7c44a48907b08ebabd3003ab1d790d7c9f32a4ae8e", kill_on_drop: false }` [INFO] [stderr] Checking rcu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0446]: private trait `RcuWriteGuard<'a, T>` in public interface [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type WriteGuard: RcuWriteGuard<'a, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private trait [INFO] [stdout] ... [INFO] [stdout] 22 | trait RcuWriteGuard<'a, T: Sync + 'a> { [INFO] [stdout] | ------------------------------------- `RcuWriteGuard<'a, T>` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evil_rcu.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a, T: Sync + 'a> EvilRcu { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 36 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evil_rcu.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl EvilRcuInner { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 55 | fn new(data: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/evil_rcu.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&'a self) -> EvilWriteGuard { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&'a self) -> EvilWriteGuard<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcu` (lib test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0446]: private trait `RcuWriteGuard<'a, T>` in public interface [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | type WriteGuard: RcuWriteGuard<'a, T>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private trait [INFO] [stdout] ... [INFO] [stdout] 22 | trait RcuWriteGuard<'a, T: Sync + 'a> { [INFO] [stdout] | ------------------------------------- `RcuWriteGuard<'a, T>` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evil_rcu.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a, T: Sync + 'a> EvilRcu { [INFO] [stdout] | --------------------------------- associated function in this implementation [INFO] [stdout] 36 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/evil_rcu.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl EvilRcuInner { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 55 | fn new(data: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/evil_rcu.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&'a self) -> EvilWriteGuard { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 26 | fn write(&'a self) -> EvilWriteGuard<'a, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rcu` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9de5942855b5bca7fa636f7c44a48907b08ebabd3003ab1d790d7c9f32a4ae8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de5942855b5bca7fa636f7c44a48907b08ebabd3003ab1d790d7c9f32a4ae8e", kill_on_drop: false }` [INFO] [stdout] 9de5942855b5bca7fa636f7c44a48907b08ebabd3003ab1d790d7c9f32a4ae8e