[INFO] cloning repository https://github.com/nicolai86/traq-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicolai86/traq-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolai86%2Ftraq-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolai86%2Ftraq-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c7aeaf4ff2fb8a2c886cb648bfab790cfed98e4 [INFO] checking nicolai86/traq-rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolai86%2Ftraq-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicolai86/traq-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nicolai86/traq-rust [INFO] finished tweaking git repo https://github.com/nicolai86/traq-rust [INFO] tweaked toml for git repo https://github.com/nicolai86/traq-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/nicolai86/traq-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 218f76099a6a76a2a0a529024cc3bd6b5345ced357e5a75dd44f7ac0f1a979a1 [INFO] running `Command { std: "docker" "start" "-a" "218f76099a6a76a2a0a529024cc3bd6b5345ced357e5a75dd44f7ac0f1a979a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "218f76099a6a76a2a0a529024cc3bd6b5345ced357e5a75dd44f7ac0f1a979a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218f76099a6a76a2a0a529024cc3bd6b5345ced357e5a75dd44f7ac0f1a979a1", kill_on_drop: false }` [INFO] [stdout] 218f76099a6a76a2a0a529024cc3bd6b5345ced357e5a75dd44f7ac0f1a979a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc91966f72148b795110d7bbcd0b20a7e7c22fec0ccdb0ddc3e14358d0cde135 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc91966f72148b795110d7bbcd0b20a7e7c22fec0ccdb0ddc3e14358d0cde135", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking traq v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `traq` [INFO] [stdout] --> tests/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate traq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TRAQ_DATA_DIR` not defined [INFO] [stdout] --> src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `TRAQ_DATA_DIR` not defined [INFO] [stdout] --> src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `getopts::Options` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use getopts::Options; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `traq` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") ); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:115:86 [INFO] [stdout] | [INFO] [stdout] 115 | let mut current: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | current.tag = String::from_str(tag); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:140:71 [INFO] [stdout] | [INFO] [stdout] 140 | current = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:142:84 [INFO] [stdout] | [INFO] [stdout] 142 | let mut n: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") ); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:115:86 [INFO] [stdout] | [INFO] [stdout] 115 | let mut current: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | current.tag = String::from_str(tag); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:140:71 [INFO] [stdout] | [INFO] [stdout] 140 | current = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:142:84 [INFO] [stdout] | [INFO] [stdout] 142 | let mut n: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") }; [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:201:58 [INFO] [stdout] | [INFO] [stdout] 201 | let project = cli_opts.opt_str("p").unwrap_or( String::from_str( "timestamps" ) ); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 6 | use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc91966f72148b795110d7bbcd0b20a7e7c22fec0ccdb0ddc3e14358d0cde135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc91966f72148b795110d7bbcd0b20a7e7c22fec0ccdb0ddc3e14358d0cde135", kill_on_drop: false }` [INFO] [stdout] dc91966f72148b795110d7bbcd0b20a7e7c22fec0ccdb0ddc3e14358d0cde135