[INFO] updating cached repository https://github.com/nicolai86/traq-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 8c7aeaf4ff2fb8a2c886cb648bfab790cfed98e4
[INFO] checking nicolai86/traq-rust against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicolai86%2Ftraq-rust" "/workspace/builds/worker-13/source"`
[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 bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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 `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 74d2e7e2a15392540276defd7a08eff1b49247bc3ba6d43cbf224fbb3740194c
[INFO] running `"docker" "start" "-a" "74d2e7e2a15392540276defd7a08eff1b49247bc3ba6d43cbf224fbb3740194c"`
[INFO] [stderr]     Checking traq v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: environment variable `TRAQ_DATA_DIR` not defined
[INFO] [stderr]   --> src/main.rs:82:40
[INFO] [stderr]    |
[INFO] [stderr] 82 |   let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") );
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `getopts::Options`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use getopts::Options;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `TRAQ_DATA_DIR` not defined
[INFO] [stderr]   --> src/main.rs:82:40
[INFO] [stderr]    |
[INFO] [stderr] 82 |   let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") );
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:82:30
[INFO] [stderr]    |
[INFO] [stderr] 82 |   let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") );
[INFO] [stderr]    |                              ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]    |
[INFO] [stderr] 6  | use std::str::FromStr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:115:86
[INFO] [stderr]     |
[INFO] [stderr] 115 |   let mut current: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                                      ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |       current.tag = String::from_str(tag);
[INFO] [stderr]     |                             ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:140:71
[INFO] [stderr]     |
[INFO] [stderr] 140 |       current = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                       ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:142:84
[INFO] [stderr]     |
[INFO] [stderr] 142 |       let mut n: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                                    ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0599`.
[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] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]   --> src/main.rs:82:30
[INFO] [stderr]    |
[INFO] [stderr] 82 |   let mut data_dir = String::from_str( env!("TRAQ_DATA_DIR") );
[INFO] [stderr]    |                              ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]    |
[INFO] [stderr] 6  | use std::str::FromStr;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:115:86
[INFO] [stderr]     |
[INFO] [stderr] 115 |   let mut current: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                                      ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |       current.tag = String::from_str(tag);
[INFO] [stderr]     |                             ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:140:71
[INFO] [stderr]     |
[INFO] [stderr] 140 |       current = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                       ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:142:84
[INFO] [stderr]     |
[INFO] [stderr] 142 |       let mut n: TraqEntry = TraqEntry{ startsAt: 0i64, endsAt: 0i64, tag: String::from_str("") };
[INFO] [stderr]     |                                                                                    ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope
[INFO] [stderr]    --> src/main.rs:201:58
[INFO] [stderr]     |
[INFO] [stderr] 201 |   let project = cli_opts.opt_str("p").unwrap_or( String::from_str( "timestamps" ) );
[INFO] [stderr]     |                                                          ^^^^^^^^ function or associated item not found in `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 6   | use std::str::FromStr;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0599`.
[INFO] [stderr] error[E0463]: can't find crate for `traq`
[INFO] [stderr]  --> tests/main.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | extern crate traq;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[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] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0463`.
[INFO] [stderr] error: could not compile `traq`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "74d2e7e2a15392540276defd7a08eff1b49247bc3ba6d43cbf224fbb3740194c"`
[INFO] running `"docker" "rm" "-f" "74d2e7e2a15392540276defd7a08eff1b49247bc3ba6d43cbf224fbb3740194c"`
[INFO] [stdout] 74d2e7e2a15392540276defd7a08eff1b49247bc3ba6d43cbf224fbb3740194c
