[INFO] cloning repository https://github.com/ocelot-project/olman
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ocelot-project/olman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0703afaaf514d38d56f809909fd56b3b11eb52f4
[INFO] checking ocelot-project/olman against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focelot-project%2Folman" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ocelot-project/olman
[INFO] finished tweaking git repo https://github.com/ocelot-project/olman
[INFO] tweaked toml for git repo https://github.com/ocelot-project/olman written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ocelot-project/olman on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ocelot-project/olman 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310
[INFO] running `Command { std: "docker" "start" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310", 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" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310", 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" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking gimli v0.22.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]     Checking object v0.21.1
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]     Checking rustc-demangle v0.1.17
[INFO] [stderr]    Compiling slog v2.5.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling pam-sys v0.5.6
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]    Compiling nix v0.13.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking aho-corasick v0.7.14
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking regex-syntax v0.6.20
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]     Checking unix_socket v0.5.0
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking nix v0.8.1
[INFO] [stderr]     Checking users v0.9.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking syslog v3.3.0
[INFO] [stderr]     Checking regex v1.4.1
[INFO] [stderr]     Checking utmpx v0.1.0 (/opt/rustwide/workdir/utmpx)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> utmpx/src/lib.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> utmpx/src/lib.rs:17:10
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[derive(FromPrimitive, PartialEq, Debug)]
[INFO] [stdout]    |          ^------------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `FromPrimitive` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_UTMPXType`
[INFO] [stdout] 18 | pub enum UTMPXType {
[INFO] [stdout]    |          --------- `UTMPXType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking slog-syslog v0.11.0
[INFO] [stderr]     Checking addr2line v0.13.0
[INFO] [stderr]     Checking backtrace v0.3.53
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]     Checking toml v0.5.7
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking pwd v1.3.0
[INFO] [stderr]     Checking olman v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pam.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Failed(String)
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 -     Failed(String)
[INFO] [stdout] 26 +     Failed(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:325:57
[INFO] [stdout]     |
[INFO] [stdout] 325 |                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 325 -                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout] 325 +                     .map_err(|e| OlmanError::SpawnError(e.to_string()))?
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 325 -                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout] 325 +                     .map_err(|e| OlmanError::SpawnError(<std::string::String as Into<_>>::into(e.to_string())))?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:403:55
[INFO] [stdout]     |
[INFO] [stdout] 403 |                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 403 -                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout] 403 +                 .map_err(|e| OlmanError::TtyOwnership(e.to_string(), passwd.name.clone()))?;
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 403 -                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout] 403 +                 .map_err(|e| OlmanError::TtyOwnership(<std::string::String as Into<_>>::into(e.to_string()), passwd.name.clone()))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:653:61
[INFO] [stdout]     |
[INFO] [stdout] 653 |                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 653 -                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout] 653 +                         .map_err(|e| OlmanError::ShellError(e.to_string()))?;
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 653 -                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout] 653 +                         .map_err(|e| OlmanError::ShellError(<std::string::String as Into<_>>::into(e.to_string())))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Err(e) => panic!(e.to_string()),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Err(e) => panic!("{}", e.to_string()),
[INFO] [stdout]     |                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `olman` (bin "olman") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/pam.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Failed(String)
[INFO] [stdout]    |     ------ ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 26 -     Failed(String)
[INFO] [stdout] 26 +     Failed(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:325:57
[INFO] [stdout]     |
[INFO] [stdout] 325 |                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]     = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 325 -                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout] 325 +                     .map_err(|e| OlmanError::SpawnError(e.to_string()))?
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 325 -                     .map_err(|e| OlmanError::SpawnError(e.to_string().into()))?
[INFO] [stdout] 325 +                     .map_err(|e| OlmanError::SpawnError(<std::string::String as Into<_>>::into(e.to_string())))?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:403:55
[INFO] [stdout]     |
[INFO] [stdout] 403 |                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout]     |                                                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 403 -                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout] 403 +                 .map_err(|e| OlmanError::TtyOwnership(e.to_string(), passwd.name.clone()))?;
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 403 -                 .map_err(|e| OlmanError::TtyOwnership(e.to_string().into(), passwd.name.clone()))?;
[INFO] [stdout] 403 +                 .map_err(|e| OlmanError::TtyOwnership(<std::string::String as Into<_>>::into(e.to_string()), passwd.name.clone()))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `std::string::String`
[INFO] [stdout]    --> src/main.rs:653:61
[INFO] [stdout]     |
[INFO] [stdout] 653 |                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]     |
[INFO] [stdout] 653 -                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout] 653 +                         .map_err(|e| OlmanError::ShellError(e.to_string()))?;
[INFO] [stdout]     |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]     |
[INFO] [stdout] 653 -                         .map_err(|e| OlmanError::ShellError(e.to_string().into()))?;
[INFO] [stdout] 653 +                         .map_err(|e| OlmanError::ShellError(<std::string::String as Into<_>>::into(e.to_string())))?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:166:26
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Err(e) => panic!(e.to_string()),
[INFO] [stdout]     |                          ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Err(e) => panic!("{}", e.to_string()),
[INFO] [stdout]     |                          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `olman` (bin "olman" test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310", kill_on_drop: false }`
[INFO] [stdout] 94fd0dce2ce5585179f2a1555fbb4136bf00fad2dcac87a1aa648db3e6ecc310
