[INFO] cloning repository https://github.com/th3james/rust-api-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/th3james/rust-api-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth3james%2Frust-api-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth3james%2Frust-api-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f96a92756ea6d3848b324b61905d92fd23bc688 [INFO] testing th3james/rust-api-example against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth3james%2Frust-api-example" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/th3james/rust-api-example [INFO] finished tweaking git repo https://github.com/th3james/rust-api-example [INFO] tweaked toml for git repo https://github.com/th3james/rust-api-example written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/th3james/rust-api-example on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/th3james/rust-api-example 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.19 [INFO] [stderr] Downloaded unicase v1.4.0 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded mime v0.2.2 [INFO] [stderr] Downloaded core-foundation v0.2.2 [INFO] [stderr] Downloaded core-foundation-sys v0.2.2 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded hyper v0.9.10 [INFO] [stderr] Downloaded cookie v0.2.5 [INFO] [stderr] Downloaded httparse v1.1.2 [INFO] [stderr] Downloaded security-framework v0.1.8 [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded libc v0.2.16 [INFO] [stderr] Downloaded idna v0.1.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.2 [INFO] [stderr] Downloaded unicode-bidi v0.2.3 [INFO] [stderr] Downloaded security-framework-sys v0.1.8 [INFO] [stderr] Downloaded url v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f71aa0990b3fdf54726451a569aa23580276c177937b3213c135534cc05d4f9f [INFO] running `Command { std: "docker" "start" "-a" "f71aa0990b3fdf54726451a569aa23580276c177937b3213c135534cc05d4f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f71aa0990b3fdf54726451a569aa23580276c177937b3213c135534cc05d4f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f71aa0990b3fdf54726451a569aa23580276c177937b3213c135534cc05d4f9f", kill_on_drop: false }` [INFO] [stdout] f71aa0990b3fdf54726451a569aa23580276c177937b3213c135534cc05d4f9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 205070fc752298c0467fa1ce1f22e1302e30102c025cf38a1e5c969e2172ecae [INFO] running `Command { std: "docker" "start" "-a" "205070fc752298c0467fa1ce1f22e1302e30102c025cf38a1e5c969e2172ecae", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.16 [INFO] [stderr] Compiling core-foundation-sys v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling security-framework-sys v0.1.8 [INFO] [stderr] Compiling unicode-normalization v0.1.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.2.3 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling httparse v1.1.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling mime v0.2.2 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling unicase v1.4.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.19/src/serialize.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 450 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: library kind `framework` is only supported on Apple targets [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `core-foundation-sys` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "205070fc752298c0467fa1ce1f22e1302e30102c025cf38a1e5c969e2172ecae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "205070fc752298c0467fa1ce1f22e1302e30102c025cf38a1e5c969e2172ecae", kill_on_drop: false }` [INFO] [stdout] 205070fc752298c0467fa1ce1f22e1302e30102c025cf38a1e5c969e2172ecae