[INFO] fetching crate jam 0.0.1...
[INFO] checking jam-0.0.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate jam 0.0.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate jam 0.0.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate jam 0.0.1
[INFO] finished tweaking crates.io crate jam 0.0.1
[INFO] tweaked toml for crates.io crate jam 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded jam_derive v0.0.1
[INFO] [stderr]   Downloaded bincode v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1616fb02d5ed57e37b175dabeefffcab425a0398088efd13072283744fc810c2
[INFO] running `Command { std: "docker" "start" "-a" "1616fb02d5ed57e37b175dabeefffcab425a0398088efd13072283744fc810c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1616fb02d5ed57e37b175dabeefffcab425a0398088efd13072283744fc810c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1616fb02d5ed57e37b175dabeefffcab425a0398088efd13072283744fc810c2", kill_on_drop: false }`
[INFO] [stdout] 1616fb02d5ed57e37b175dabeefffcab425a0398088efd13072283744fc810c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9b7a3363ad13c08f64ebd1ef8a0a3e0e05f6d7ab890f743ad95f6a429a4121e
[INFO] running `Command { std: "docker" "start" "-a" "d9b7a3363ad13c08f64ebd1ef8a0a3e0e05f6d7ab890f743ad95f6a429a4121e", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]     Checking serde v0.9.15
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling serde_codegen_internals v0.14.2
[INFO] [stderr]     Checking bincode v0.7.0
[INFO] [stderr]    Compiling jam_derive v0.0.1
[INFO] [stderr]    Compiling serde_derive v0.9.15
[INFO] [stderr]     Checking jam v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] " struct MusicService { some : u32 , } impl Service for MusicService { fn get ( & self , hash : u32 ) -> Result < u32 , Error > { match args . hash { 0 => Ok ( * self . some ) , _ => Err ( Error :: WrongNumber ) , } } fn set ( & mut self , hash : u32 ) -> Result < ( ) , Error > { * self . some = args . hash ; Ok ( ( ) ) } } "
[INFO] [stdout] " struct MusicService { some : u32 , } impl Service for MusicService { fn get ( & self , hash : u32 ) -> Result < u32 , Error > { match args . hash { 0 => Ok ( * self . some ) , _ => Err ( Error :: WrongNumber ) , } } fn set ( & mut self , hash : u32 ) -> Result < ( ) , Error > { * self . some = args . hash ; Ok ( ( ) ) } } "
[INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } }
[INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } }
[INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } }
[INFO] [stdout] # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceget { pub hash : u32 } # [ derive ( Serialize , Deserialize ) ] pub struct MusicServiceset { pub hash : u32 } pub struct MusicService { some : Arc < RefCell < u32 > > } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceArgs { get ( MusicServiceget ) , set ( MusicServiceset ) } # [ derive ( Serialize , Deserialize ) ] pub enum MusicServiceRet { InvalidMethod , get ( Result < u32 , Error > ) , set ( Result < ( ) , Error > ) } impl Service for MusicService { fn process ( & mut self , input : & [ u8 ] ) -> Vec < u8 > { use bincode :: { serialize , deserialize , Infinite } ; let args : MusicServiceArgs = deserialize ( input ) . unwrap ( ) ; let mut ret : MusicServiceRet = MusicServiceRet :: InvalidMethod ; let ret = match args { MusicServiceArgs :: get ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { match args . hash { 0 => Ok ( * self_some ) , _ => Err ( Error :: WrongNumber ) , } } } ; MusicServiceRet :: get ( tmp ) } , MusicServiceArgs :: set ( args ) => { let tmp = { let mut self_some = self . some . borrow_mut ( ) ; { * self_some = args . hash ; Ok ( ( ) ) } } ; MusicServiceRet :: set ( tmp ) } } ; serialize ( & ret , Infinite ) . unwrap ( ) } }
[INFO] [stdout] warning: variant `field` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                   field = (stringify!(|$($x)*|), 0).1
[INFO] [stdout]    |                   ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Field`
[INFO] [stdout] ...
[INFO] [stdout] 29 | / service!(
[INFO] [stdout] 30 | |     struct MusicService {
[INFO] [stdout] 31 | |         some: u32
[INFO] [stdout] 32 | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout] 48 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `field` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 |                   field = (stringify!(|$($x)*|), 0).1
[INFO] [stdout]    |                   ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Field`
[INFO] [stdout] ...
[INFO] [stdout] 29 | / service!(
[INFO] [stdout] 30 | |     struct MusicService {
[INFO] [stdout] 31 | |         some: u32
[INFO] [stdout] 32 | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout] 48 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DummyEnum` is never used
[INFO] [stdout]   --> src/main.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |               enum DummyEnum {
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 | / service!(
[INFO] [stdout] 30 | |     struct MusicService {
[INFO] [stdout] 31 | |         some: u32
[INFO] [stdout] 32 | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout] 48 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DummyEnum` is never used
[INFO] [stdout]   --> src/main.rs:14:18
[INFO] [stdout]    |
[INFO] [stdout] 14 |               enum DummyEnum {
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 | / service!(
[INFO] [stdout] 30 | |     struct MusicService {
[INFO] [stdout] 31 | |         some: u32
[INFO] [stdout] 32 | |     }
[INFO] [stdout] ...  |
[INFO] [stdout] 47 | |     }
[INFO] [stdout] 48 | | );
[INFO] [stdout]    | |_- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `service` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.30s
[INFO] running `Command { std: "docker" "inspect" "d9b7a3363ad13c08f64ebd1ef8a0a3e0e05f6d7ab890f743ad95f6a429a4121e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9b7a3363ad13c08f64ebd1ef8a0a3e0e05f6d7ab890f743ad95f6a429a4121e", kill_on_drop: false }`
[INFO] [stdout] d9b7a3363ad13c08f64ebd1ef8a0a3e0e05f6d7ab890f743ad95f6a429a4121e
