[INFO] fetching crate rust_rub 0.0.5... [INFO] building rust_rub-0.0.5 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust_rub 0.0.5 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rust_rub 0.0.5 [INFO] finished tweaking crates.io crate rust_rub 0.0.5 [INFO] tweaked toml for crates.io crate rust_rub 0.0.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust_rub 0.0.5 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 25 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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] 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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c181793414eb4d71d779ff33adac72bd21e1b5d9b26eee2256c2eb846527952 [INFO] running `Command { std: "docker" "start" "-a" "9c181793414eb4d71d779ff33adac72bd21e1b5d9b26eee2256c2eb846527952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c181793414eb4d71d779ff33adac72bd21e1b5d9b26eee2256c2eb846527952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c181793414eb4d71d779ff33adac72bd21e1b5d9b26eee2256c2eb846527952", kill_on_drop: false }` [INFO] [stdout] 9c181793414eb4d71d779ff33adac72bd21e1b5d9b26eee2256c2eb846527952 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765e56a15f24afad6cc66fc4660e87f774f5b08e72b693a514a1aed4790675b3 [INFO] running `Command { std: "docker" "start" "-a" "765e56a15f24afad6cc66fc4660e87f774f5b08e72b693a514a1aed4790675b3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling commandext v0.1.0 [INFO] [stderr] Compiling buildable v0.0.5 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | #[experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:214:47 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Copy,PartialEq, Eq, PartialOrd, Ord, Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | dir: Option, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `std::os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | let home = match std::os::getenv("HOME") { [INFO] [stdout] | ^^^^^^ not found in `std::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let path = Path::new(home); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn dir(&mut self, dir: Path) -> &mut BuildConfig { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_dir<'a>(&'a self) -> &'a Path { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 13 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LifeCycle: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Copy,PartialEq, Eq, PartialOrd, Ord, Show)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `LifeCycle` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/4987e9d4227139400384ab59296ffee3b0fb1183/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `LifeCycle` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 215 + #[derive(Clone)] [INFO] [stdout] 216 | pub enum LifeCycle { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 165 | Some(ref p) => p.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:276:68 [INFO] [stdout] | [INFO] [stdout] 276 | ... .map(|s| LifeCycle::from_str(s.as_slice())) [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/buildable-0.0.5/src/lib.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | Some(ref b) => b.as_slice(), [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `buildable` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "765e56a15f24afad6cc66fc4660e87f774f5b08e72b693a514a1aed4790675b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765e56a15f24afad6cc66fc4660e87f774f5b08e72b693a514a1aed4790675b3", kill_on_drop: false }` [INFO] [stdout] 765e56a15f24afad6cc66fc4660e87f774f5b08e72b693a514a1aed4790675b3