[INFO] cloning repository https://github.com/jacksingleton/todo-backend-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacksingleton/todo-backend-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksingleton%2Ftodo-backend-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksingleton%2Ftodo-backend-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70b969c01cb5acdce1c17432eeb69f06aea39411 [INFO] checking jacksingleton/todo-backend-rust against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacksingleton%2Ftodo-backend-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacksingleton/todo-backend-rust on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacksingleton/todo-backend-rust [INFO] finished tweaking git repo https://github.com/jacksingleton/todo-backend-rust [INFO] tweaked toml for git repo https://github.com/jacksingleton/todo-backend-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jacksingleton/todo-backend-rust 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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/iron/iron.git` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/uuid.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding autocfg v1.4.0 [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding bytes v0.4.12 [INFO] [stderr] Adding cfg-if v0.1.10 [INFO] [stderr] Adding cloudabi v0.0.3 [INFO] [stderr] Adding crossbeam-deque v0.7.4 [INFO] [stderr] Adding crossbeam-epoch v0.8.2 [INFO] [stderr] Adding crossbeam-queue v0.2.3 [INFO] [stderr] Adding crossbeam-utils v0.7.2 [INFO] [stderr] Adding either v1.13.0 [INFO] [stderr] Adding fnv v1.0.7 [INFO] [stderr] Adding fuchsia-zircon v0.3.3 [INFO] [stderr] Adding fuchsia-zircon-sys v0.3.3 [INFO] [stderr] Adding futures v0.1.31 [INFO] [stderr] Adding futures-cpupool v0.1.8 [INFO] [stderr] Adding h2 v0.1.26 [INFO] [stderr] Adding hashbrown v0.12.3 [INFO] [stderr] Adding hermit-abi v0.3.9 [INFO] [stderr] Adding http v0.1.21 [INFO] [stderr] Adding http-body v0.1.0 [INFO] [stderr] Adding httparse v1.9.5 [INFO] [stderr] Adding hyper v0.12.36 [INFO] [stderr] Adding idna v0.1.5 [INFO] [stderr] Adding indexmap v1.9.3 [INFO] [stderr] Adding iovec v0.1.4 [INFO] [stderr] Adding iron v0.6.0 (https://github.com/iron/iron.git#cde77e5e) [INFO] [stderr] Adding itoa v0.4.8 [INFO] [stderr] Adding kernel32-sys v0.2.2 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding libc v0.2.168 [INFO] [stderr] Adding lock_api v0.3.4 [INFO] [stderr] Adding log v0.4.22 [INFO] [stderr] Adding matches v0.1.10 [INFO] [stderr] Adding maybe-uninit v2.0.0 [INFO] [stderr] Adding memoffset v0.5.6 [INFO] [stderr] Adding mime v0.3.17 [INFO] [stderr] Adding mime_guess v2.0.5 [INFO] [stderr] Adding mio v0.6.23 [INFO] [stderr] Adding miow v0.2.2 [INFO] [stderr] Adding modifier v0.1.0 [INFO] [stderr] Adding net2 v0.2.39 [INFO] [stderr] Adding num_cpus v1.16.0 [INFO] [stderr] Adding parking_lot v0.9.0 [INFO] [stderr] Adding parking_lot_core v0.6.3 [INFO] [stderr] Adding percent-encoding v1.0.1 [INFO] [stderr] Adding plugin v0.2.6 [INFO] [stderr] Adding redox_syscall v0.1.57 [INFO] [stderr] Adding rustc_version v0.2.3 [INFO] [stderr] Adding scopeguard v1.2.0 [INFO] [stderr] Adding semver v0.9.0 [INFO] [stderr] Adding semver-parser v0.7.0 [INFO] [stderr] Adding slab v0.4.9 [INFO] [stderr] Adding smallvec v0.6.14 [INFO] [stderr] Adding string v0.2.1 [INFO] [stderr] Adding time v0.1.45 [INFO] [stderr] Adding tinyvec v1.8.0 [INFO] [stderr] Adding tinyvec_macros v0.1.1 [INFO] [stderr] Adding tokio v0.1.22 [INFO] [stderr] Adding tokio-buf v0.1.1 [INFO] [stderr] Adding tokio-current-thread v0.1.7 [INFO] [stderr] Adding tokio-executor v0.1.10 [INFO] [stderr] Adding tokio-io v0.1.13 [INFO] [stderr] Adding tokio-reactor v0.1.12 [INFO] [stderr] Adding tokio-sync v0.1.8 [INFO] [stderr] Adding tokio-tcp v0.1.4 [INFO] [stderr] Adding tokio-threadpool v0.1.18 [INFO] [stderr] Adding tokio-timer v0.2.13 [INFO] [stderr] Adding traitobject v0.1.0 [INFO] [stderr] Adding try-lock v0.2.5 [INFO] [stderr] Adding typemap v0.3.3 [INFO] [stderr] Adding unicase v2.8.0 [INFO] [stderr] Adding unicode-bidi v0.3.18 [INFO] [stderr] Adding unicode-normalization v0.1.24 [INFO] [stderr] Adding unsafe-any v0.4.2 [INFO] [stderr] Adding url v1.7.2 [INFO] [stderr] Adding uuid v1.11.0 (https://github.com/rust-lang/uuid.git#44733984) [INFO] [stderr] Adding want v0.2.0 [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 [INFO] [stderr] Adding winapi v0.3.9 [INFO] [stderr] Adding winapi-build v0.1.1 [INFO] [stderr] Adding winapi-i686-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding winapi-x86_64-pc-windows-gnu v0.4.0 [INFO] [stderr] Adding ws2_32-sys v0.2.1 [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39cf93a49c61fee74e7436994384cf9efe7ebd11c8bc22122e01a35e852cd5c0 [INFO] running `Command { std: "docker" "start" "-a" "39cf93a49c61fee74e7436994384cf9efe7ebd11c8bc22122e01a35e852cd5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39cf93a49c61fee74e7436994384cf9efe7ebd11c8bc22122e01a35e852cd5c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39cf93a49c61fee74e7436994384cf9efe7ebd11c8bc22122e01a35e852cd5c0", kill_on_drop: false }` [INFO] [stdout] 39cf93a49c61fee74e7436994384cf9efe7ebd11c8bc22122e01a35e852cd5c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed4b9430e8df88e764c4e9d15201e698fa29fef05ef40f304f41ac23e8d5e94f [INFO] running `Command { std: "docker" "start" "-a" "ed4b9430e8df88e764c4e9d15201e698fa29fef05ef40f304f41ac23e8d5e94f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking uuid v1.11.0 (https://github.com/rust-lang/uuid.git#44733984) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking iron v0.6.0 (https://github.com/iron/iron.git#cde77e5e) [INFO] [stderr] Checking todo-backend-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `http` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate http; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `http` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate http; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip::Ipv4Addr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/main.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip::Ipv4Addr; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `iron::Alloy`, `iron::Server`, `iron::Status`, `iron::Unwind`, `iron::FromFn` [INFO] [stdout] --> src/main.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use iron::{Iron, Chain, Alloy, Request, Response, Server, Status, Unwind, FromFn}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `FromFn` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Unwind` in the root [INFO] [stdout] | | | no `Status` in the root [INFO] [stdout] | | no `Server` in the root [INFO] [stdout] | no `Alloy` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::fmt::FromFn [INFO] [stdout] std::iter::FromFn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/todo_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'r` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/todo_repo.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl <'r> TodoRepo<'r> { [INFO] [stdout] | -- first declared here [INFO] [stdout] 66 | fn new<'r>() -> TodoRepo<'r> { [INFO] [stdout] | ^^ lifetime `'r` already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chain` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use iron::{Iron, Chain, Alloy, Request, Response, Server, Status, Unwind, FromFn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `todo_repo::TodoRepo` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use todo_repo::TodoRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::uuid::Uuid` [INFO] [stdout] --> src/todo_repo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'r` is never used [INFO] [stdout] --> src/todo_repo.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct TodoRepo<'r> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'r`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `iron::Alloy`, `iron::Server`, `iron::Status`, `iron::Unwind`, `iron::FromFn` [INFO] [stdout] --> src/main.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use iron::{Iron, Chain, Alloy, Request, Response, Server, Status, Unwind, FromFn}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `FromFn` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Unwind` in the root [INFO] [stdout] | | | no `Status` in the root [INFO] [stdout] | | no `Server` in the root [INFO] [stdout] | no `Alloy` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::fmt::FromFn [INFO] [stdout] std::iter::FromFn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/todo_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0496]: lifetime name `'r` shadows a lifetime name that is already in scope [INFO] [stdout] --> src/todo_repo.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl <'r> TodoRepo<'r> { [INFO] [stdout] | -- first declared here [INFO] [stdout] 66 | fn new<'r>() -> TodoRepo<'r> { [INFO] [stdout] | ^^ lifetime `'r` already in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chain` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use iron::{Iron, Chain, Alloy, Request, Response, Server, Status, Unwind, FromFn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `todo_repo::TodoRepo` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use todo_repo::TodoRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::uuid::Uuid` [INFO] [stdout] --> src/todo_repo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use self::uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: lifetime parameter `'r` is never used [INFO] [stdout] --> src/todo_repo.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct TodoRepo<'r> { [INFO] [stdout] | ^^ unused lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'r`, referring to it in a field, or using a marker such as `PhantomData` [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/todo_repo.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from(id), String::from_str(todo)); [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/todo_repo.rs:75:57 [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from(todo)); [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/todo_repo.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | String::from_str(id) [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 76 | String::from(id) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/todo_repo.rs:19:43 [INFO] [stdout] | [INFO] [stdout] 19 | let read_todo_1 = repo.find(todo_id_1.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/todo_repo.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from_str(id)).unwrap() [INFO] [stdout] | ^^^^ method not found in `HashMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/todo_repo.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | let read_todo_2 = repo.find(todo_id_1.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [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/todo_repo.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from_str(id)).unwrap() [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from(id)).unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/todo_repo.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(read_todo_1.as_slice(), new_todo_1); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serve` found for mutable reference `&mut Response` in the current scope [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = res.serve(::http::status::Ok, "Hello, world!"); [INFO] [stdout] | ^^^^^ method not found in `&mut Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let mut server: Server = Iron::new(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iron-b0a8b5157dc84fce/cde77e5/iron/src/iron.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn new(handler: H) -> Iron { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 17 | let mut server: Server = Iron::new(/* handler */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/todo_repo.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(read_todo_2.as_slice(), new_todo_2); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0392, E0432, E0433, E0463, E0496, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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/todo_repo.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | repo.store.insert(String::from_str(todo_key), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | repo.store.insert(String::from(todo_key), String::from_str(todo)); [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/todo_repo.rs:51:59 [INFO] [stdout] | [INFO] [stdout] 51 | repo.store.insert(String::from_str(todo_key), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | repo.store.insert(String::from_str(todo_key), String::from(todo)); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-backend-rust` (bin "todo-backend-rust") due to 13 previous errors; 3 warnings emitted [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/todo_repo.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(found_todo, String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(found_todo, String::from(todo)); [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/todo_repo.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from(id), String::from_str(todo)); [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/todo_repo.rs:75:57 [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from_str(todo)); [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 75 | self.store.insert(String::from_str(id), String::from(todo)); [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/todo_repo.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | String::from_str(id) [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 76 | String::from(id) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/todo_repo.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from_str(id)).unwrap() [INFO] [stdout] | ^^^^ method not found in `HashMap` [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/todo_repo.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from_str(id)).unwrap() [INFO] [stdout] | ^^^^^^^^ function or associated item 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/da0275e101cdc809ce291ed8b64d6f82c6b65467/library/alloc/src/string.rs:446:5 [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] 1 + use std::str::FromStr; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 80 | self.store.find(&String::from(id)).unwrap() [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serve` found for mutable reference `&mut Response` in the current scope [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let _ = res.serve(::http::status::Ok, "Hello, world!"); [INFO] [stdout] | ^^^^^ method not found in `&mut Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | let mut server: Server = Iron::new(); [INFO] [stdout] | ^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/iron-b0a8b5157dc84fce/cde77e5/iron/src/iron.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn new(handler: H) -> Iron { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 17 | let mut server: Server = Iron::new(/* handler */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0392, E0432, E0433, E0463, E0496, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-backend-rust` (bin "todo-backend-rust" test) due to 20 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed4b9430e8df88e764c4e9d15201e698fa29fef05ef40f304f41ac23e8d5e94f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed4b9430e8df88e764c4e9d15201e698fa29fef05ef40f304f41ac23e8d5e94f", kill_on_drop: false }` [INFO] [stdout] ed4b9430e8df88e764c4e9d15201e698fa29fef05ef40f304f41ac23e8d5e94f