[INFO] cloning repository https://github.com/bryanjos/rust-note-example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bryanjos/rust-note-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanjos%2Frust-note-example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanjos%2Frust-note-example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5a9cd6b407eb71ee7db08cc19eabd54abad707e4
[INFO] checking bryanjos/rust-note-example/5a9cd6b407eb71ee7db08cc19eabd54abad707e4 against 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 for pr-133502-29
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbryanjos%2Frust-note-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bryanjos/rust-note-example
[INFO] finished tweaking git repo https://github.com/bryanjos/rust-note-example
[INFO] tweaked toml for git repo https://github.com/bryanjos/rust-note-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bryanjos/rust-note-example on toolchain 012c0bd4d516934012c9a1ecb26e9eb283d2ed75
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bryanjos/rust-note-example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `note` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05
[INFO] running `Command { std: "docker" "start" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `note` (manifest) generated 1 warning
[INFO] [stderr]     Checking note v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^----
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `File` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]   |
[INFO] [stdout] 5 - use std::io::File;
[INFO] [stdout] 5 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^----
[INFO] [stdout]   |              |
[INFO] [stdout]   |              no `File` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]   |
[INFO] [stdout] 5 - use std::io::File;
[INFO] [stdout] 5 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |     _ => fail!("Could not find note")
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 fail!("{} is an unknown command", command);
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             fail!("Unexpected combination of arguments: {}", args);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:49:10
[INFO] [stdout]    |
[INFO] [stdout] 49 |     _ => fail!("Could not find note")
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |                 fail!("{} is an unknown command", command);
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             fail!("Unexpected combination of arguments: {}", args);
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     match os::args().as_slice().tail() {
[INFO] [stdout]    |               ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 18 -     match os::args().as_slice().tail() {
[INFO] [stdout] 18 +     match args().as_slice().tail() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/main.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 |     match os::args().as_slice().tail() {
[INFO] [stdout]    |               ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 18 -     match os::args().as_slice().tail() {
[INFO] [stdout] 18 +     match args().as_slice().tail() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_path(title:&str) -> Path {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:55:3
[INFO] [stdout]    |
[INFO] [stdout] 55 |   Path::new(file_name)
[INFO] [stdout]    |   ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn get_path(title:&str) -> Path {
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:55:3
[INFO] [stdout]    |
[INFO] [stdout] 55 |   Path::new(file_name)
[INFO] [stdout]    |   ^^^^ use of undeclared type `Path`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let file_name = String::from_str(title).append(".txt");
[INFO] [stdout]    |                           ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/012c0bd4d516934012c9a1ecb26e9eb283d2ed75/library/alloc/src/string.rs:446:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 54 -   let file_name = String::from_str(title).append(".txt");
[INFO] [stdout] 54 +   let file_name = String::from(title).append(".txt");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_str` found for struct `String` in the current scope
[INFO] [stdout]   --> src/main.rs:54:27
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let file_name = String::from_str(title).append(".txt");
[INFO] [stdout]    |                           ^^^^^^^^ associated function or constant not found in `String`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions:
[INFO] [stdout]       String::new
[INFO] [stdout]       String::with_capacity
[INFO] [stdout]       String::try_with_capacity
[INFO] [stdout]       String::from_utf8
[INFO] [stdout]       and 9 others
[INFO] [stdout]   --> /rustc/012c0bd4d516934012c9a1ecb26e9eb283d2ed75/library/alloc/src/string.rs:446:4
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FromStr` which provides `from_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::str::FromStr;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `from` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 54 -   let file_name = String::from_str(title).append(".txt");
[INFO] [stdout] 54 +   let file_name = String::from(title).append(".txt");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `note` (bin "note" test) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `note` (bin "note") due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05", kill_on_drop: false }`
[INFO] [stdout] 9d2ac0044568ecc3851312d277e8165cd2c8f2017c2002fbb8bd8ebc3fe69e05
