[INFO] cloning repository https://github.com/luser/failure-errorchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luser/failure-errorchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ffailure-errorchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ffailure-errorchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00ae533f7d6e03b2ac77e5eb8a7249394296c96f [INFO] checking luser/failure-errorchain/00ae533f7d6e03b2ac77e5eb8a7249394296c96f against master#fd0c901b00ee1e08a250039cdb90258603497e20 for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluser%2Ffailure-errorchain" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luser/failure-errorchain [INFO] finished tweaking git repo https://github.com/luser/failure-errorchain [INFO] tweaked toml for git repo https://github.com/luser/failure-errorchain written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luser/failure-errorchain on toolchain fd0c901b00ee1e08a250039cdb90258603497e20 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luser/failure-errorchain 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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.3 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded backtrace v0.3.4 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7abebbf526b162474cdd556905348b788813a794eb0eacfecb825427f54cb56 [INFO] running `Command { std: "docker" "start" "-a" "c7abebbf526b162474cdd556905348b788813a794eb0eacfecb825427f54cb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7abebbf526b162474cdd556905348b788813a794eb0eacfecb825427f54cb56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7abebbf526b162474cdd556905348b788813a794eb0eacfecb825427f54cb56", kill_on_drop: false }` [INFO] [stdout] c7abebbf526b162474cdd556905348b788813a794eb0eacfecb825427f54cb56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+fd0c901b00ee1e08a250039cdb90258603497e20" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4fb05a81d6f7a176ff2cc69f7a93716db07e4179fff9bfe18901cad0d6501d4 [INFO] running `Command { std: "docker" "start" "-a" "c4fb05a81d6f7a176ff2cc69f7a93716db07e4179fff9bfe18901cad0d6501d4", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.4 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking failure-errorchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `(dyn std::error::Error + Send + 'static): Sync` is not satisfied [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn bar() -> Result<(), Error> { [INFO] [stdout] | ----------------- required `(dyn std::error::Error + Send + 'static): Sync` because of this [INFO] [stdout] 23 | a::foo()?; [INFO] [stdout] | --------^ `(dyn std::error::Error + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, a::error::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn std::error::Error + Send + 'static)` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique<(dyn std::error::Error + Send + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn std::error::Error + Send + 'static)>` [INFO] [stdout] --> /rustc/fd0c901b00ee1e08a250039cdb90258603497e20/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Option>` [INFO] [stdout] --> /rustc/fd0c901b00ee1e08a250039cdb90258603497e20/library/core/src/option.rs:600:9 [INFO] [stdout] note: required because it appears within the type `error_chain::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/error-chain-0.11.0/src/lib.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `a::error::Error` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | errors { [INFO] [stdout] 10 | | AnError { [INFO] [stdout] 11 | | description("an error") [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: required for `a::error::Error` to implement `Fail` [INFO] [stdout] = note: required for `failure::Error` to implement `From` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `failure-errorchain` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `(dyn std::error::Error + Send + 'static): Sync` is not satisfied [INFO] [stdout] --> src/lib.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn bar() -> Result<(), Error> { [INFO] [stdout] | ----------------- required `(dyn std::error::Error + Send + 'static): Sync` because of this [INFO] [stdout] 23 | a::foo()?; [INFO] [stdout] | --------^ `(dyn std::error::Error + Send + 'static)` cannot be shared between threads safely [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, a::error::Error>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn std::error::Error + Send + 'static)` [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `std::ptr::Unique<(dyn std::error::Error + Send + 'static)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `Box<(dyn std::error::Error + Send + 'static)>` [INFO] [stdout] --> /rustc/fd0c901b00ee1e08a250039cdb90258603497e20/library/alloc/src/boxed.rs:234:11 [INFO] [stdout] note: required because it appears within the type `Option>` [INFO] [stdout] --> /rustc/fd0c901b00ee1e08a250039cdb90258603497e20/library/core/src/option.rs:600:9 [INFO] [stdout] note: required because it appears within the type `error_chain::State` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/error-chain-0.11.0/src/lib.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `a::error::Error` [INFO] [stdout] --> src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | / error_chain! { [INFO] [stdout] 9 | | errors { [INFO] [stdout] 10 | | AnError { [INFO] [stdout] 11 | | description("an error") [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] = note: required for `a::error::Error` to implement `Fail` [INFO] [stdout] = note: required for `failure::Error` to implement `From` [INFO] [stdout] = note: this error originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `failure-errorchain` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c4fb05a81d6f7a176ff2cc69f7a93716db07e4179fff9bfe18901cad0d6501d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fb05a81d6f7a176ff2cc69f7a93716db07e4179fff9bfe18901cad0d6501d4", kill_on_drop: false }` [INFO] [stdout] c4fb05a81d6f7a176ff2cc69f7a93716db07e4179fff9bfe18901cad0d6501d4