[INFO] fetching crate python_rub 0.0.3... [INFO] testing python_rub-0.0.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate python_rub 0.0.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate python_rub 0.0.3 [INFO] finished tweaking crates.io crate python_rub 0.0.3 [INFO] tweaked toml for crates.io crate python_rub 0.0.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate python_rub 0.0.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a37b90c956810958b6843ef148d2bb76c610164bdcf4bd1e9b6323f8d8d318f [INFO] running `Command { std: "docker" "start" "-a" "9a37b90c956810958b6843ef148d2bb76c610164bdcf4bd1e9b6323f8d8d318f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a37b90c956810958b6843ef148d2bb76c610164bdcf4bd1e9b6323f8d8d318f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a37b90c956810958b6843ef148d2bb76c610164bdcf4bd1e9b6323f8d8d318f", kill_on_drop: false }` [INFO] [stdout] 9a37b90c956810958b6843ef148d2bb76c610164bdcf4bd1e9b6323f8d8d318f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b3b22aa2baba7492f5dbcce997267f9ea12e9c12f60285c160201e2f9245a8 [INFO] running `Command { std: "docker" "start" "-a" "e9b3b22aa2baba7492f5dbcce997267f9ea12e9c12f60285c160201e2f9245a8", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling commandext v0.1.0 [INFO] [stderr] Compiling strsim v0.10.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[E0425]: 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]: 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: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[E0425]: 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[E0425]: 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:215:10 [INFO] [stdout] | [INFO] [stdout] 214 | #[derive(Copy,PartialEq, Eq, PartialOrd, Ord, Show)] [INFO] [stdout] | ---- in this derive macro expansion [INFO] [stdout] 215 | pub enum LifeCycle { [INFO] [stdout] | ^^^^^^^^^ the trait `Clone` is not implemented for `LifeCycle` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/marker.rs:454:0 [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: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] 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] Some errors have detailed explanations: E0277, 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" "e9b3b22aa2baba7492f5dbcce997267f9ea12e9c12f60285c160201e2f9245a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b3b22aa2baba7492f5dbcce997267f9ea12e9c12f60285c160201e2f9245a8", kill_on_drop: false }` [INFO] [stdout] e9b3b22aa2baba7492f5dbcce997267f9ea12e9c12f60285c160201e2f9245a8