[INFO] cloning repository https://github.com/Phaiax/cargo-teensy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Phaiax/cargo-teensy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fcargo-teensy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fcargo-teensy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b54e5e17844d5c75b7a44df9817435c58ec3d67 [INFO] testing Phaiax/cargo-teensy against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhaiax%2Fcargo-teensy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Phaiax/cargo-teensy [INFO] finished tweaking git repo https://github.com/Phaiax/cargo-teensy [INFO] tweaked toml for git repo https://github.com/Phaiax/cargo-teensy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Phaiax/cargo-teensy on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Phaiax/cargo-teensy 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `cargo-teensy`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded docopt v0.6.83 [INFO] [stderr] Downloaded curl v0.3.6 [INFO] [stderr] Downloaded regex v0.1.77 [INFO] [stderr] Downloaded regex-syntax v0.3.5 [INFO] [stderr] Downloaded curl-sys v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5536b669bd0e37267cec13375625d5117176362c454bc7a3842684f61c0c1091 [INFO] running `Command { std: "docker" "start" "-a" "5536b669bd0e37267cec13375625d5117176362c454bc7a3842684f61c0c1091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5536b669bd0e37267cec13375625d5117176362c454bc7a3842684f61c0c1091", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5536b669bd0e37267cec13375625d5117176362c454bc7a3842684f61c0c1091", kill_on_drop: false }` [INFO] [stdout] 5536b669bd0e37267cec13375625d5117176362c454bc7a3842684f61c0c1091 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b98a317ad834214026cd3332d353ea185afa6b646bf42c9fb28a7ebd54b37057 [INFO] running `Command { std: "docker" "start" "-a" "b98a317ad834214026cd3332d353ea185afa6b646bf42c9fb28a7ebd54b37057", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `src/main.rs` was erroneously implicitly accepted for binary `cargo-teensy`, [INFO] [stderr] please set bin.path in Cargo.toml [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 pkg-config v0.3.8 [INFO] [stderr] Compiling gcc v0.3.35 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling regex-syntax v0.3.5 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling strsim v0.5.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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 openssl-sys v0.7.17 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling lazy_static v0.2.1 [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/0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6/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] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling yaml-rust v0.3.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling libz-sys v1.0.6 [INFO] [stderr] Compiling curl-sys v0.2.2 [INFO] [stderr] Compiling regex v0.1.77 [INFO] [stderr] Compiling curl v0.3.6 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b98a317ad834214026cd3332d353ea185afa6b646bf42c9fb28a7ebd54b37057", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98a317ad834214026cd3332d353ea185afa6b646bf42c9fb28a7ebd54b37057", kill_on_drop: false }` [INFO] [stdout] b98a317ad834214026cd3332d353ea185afa6b646bf42c9fb28a7ebd54b37057