[INFO] fetching crate crowbook-localize 0.1.0... [INFO] checking crowbook-localize-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate crowbook-localize 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate crowbook-localize 0.1.0 [INFO] finished tweaking crates.io crate crowbook-localize 0.1.0 [INFO] tweaked toml for crates.io crate crowbook-localize 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crowbook-localize 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding regex v0.1.80 (available: v1.11.2) [INFO] [stderr] Adding walkdir v0.1.8 (available: v2.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 walkdir v0.1.8 [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bce1a12cb8380a5c9d54a4375ab9e7a1ce07afd91519b4a72d5368660d4ba8fa [INFO] running `Command { std: "docker" "start" "-a" "bce1a12cb8380a5c9d54a4375ab9e7a1ce07afd91519b4a72d5368660d4ba8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bce1a12cb8380a5c9d54a4375ab9e7a1ce07afd91519b4a72d5368660d4ba8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bce1a12cb8380a5c9d54a4375ab9e7a1ce07afd91519b4a72d5368660d4ba8fa", kill_on_drop: false }` [INFO] [stdout] bce1a12cb8380a5c9d54a4375ab9e7a1ce07afd91519b4a72d5368660d4ba8fa [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f5e4c6cd673802489cf897c569e463ac3c91baea92b9b87bcabae46b8d2a6bc [INFO] running `Command { std: "docker" "start" "-a" "7f5e4c6cd673802489cf897c569e463ac3c91baea92b9b87bcabae46b8d2a6bc", 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.175 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking crowbook-localize v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lang.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | key.push_str(&try!(find_string(s.as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lang.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | value.push_str(&try!(find_string(s.as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.read_to_string(&mut content) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut f = try!(File::open(file) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | let orig_msg: String = try!(find_string(bytes) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(self.add_messages_from_file(&filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(f.write_all(content.as_bytes()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut f = try!(File::create(file).map_err(|e| Error::new(format!("Could not create file {}: {}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lang.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | key.push_str(&try!(find_string(s.as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lang.rs:76:41 [INFO] [stdout] | [INFO] [stdout] 76 | value.push_str(&try!(find_string(s.as_bytes()).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.read_to_string(&mut content) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let mut f = try!(File::open(file) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:84:36 [INFO] [stdout] | [INFO] [stdout] 84 | let orig_msg: String = try!(find_string(bytes) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(self.add_messages_from_file(&filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(f.write_all(content.as_bytes()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/extractor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mut f = try!(File::create(file).map_err(|e| Error::new(format!("Could not create file {}: {}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/common.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | static ref REGEX:Regex = Regex::new(r#"\\\n\s*"#).unwrap(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref REMOVE_COMMS: Regex = Regex::new(r#"//[^\n]*"#).unwrap(); [INFO] [stdout] 64 | | static ref FIND_MSGS: Regex = Regex::new(r#"lformat!\("#).unwrap(); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref REMOVE_COMMS: Regex = Regex::new(r#"//[^\n]*"#).unwrap(); [INFO] [stdout] 64 | | static ref FIND_MSGS: Regex = Regex::new(r#"lformat!\("#).unwrap(); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/common.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / lazy_static! { [INFO] [stdout] 17 | | static ref REGEX:Regex = Regex::new(r#"\\\n\s*"#).unwrap(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref REMOVE_COMMS: Regex = Regex::new(r#"//[^\n]*"#).unwrap(); [INFO] [stdout] 64 | | static ref FIND_MSGS: Regex = Regex::new(r#"lformat!\("#).unwrap(); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extractor.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / lazy_static! { [INFO] [stdout] 63 | | static ref REMOVE_COMMS: Regex = Regex::new(r#"//[^\n]*"#).unwrap(); [INFO] [stdout] 64 | | static ref FIND_MSGS: Regex = Regex::new(r#"lformat!\("#).unwrap(); [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `crowbook_intl` [INFO] [stdout] --> examples/extract.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate crowbook_intl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `crowbook_intl` [INFO] [stdout] --> examples/macrogen.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate crowbook_intl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crowbook-localize` (example "macrogen") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crowbook-localize` (example "extract") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7f5e4c6cd673802489cf897c569e463ac3c91baea92b9b87bcabae46b8d2a6bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f5e4c6cd673802489cf897c569e463ac3c91baea92b9b87bcabae46b8d2a6bc", kill_on_drop: false }` [INFO] [stdout] 7f5e4c6cd673802489cf897c569e463ac3c91baea92b9b87bcabae46b8d2a6bc